Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2085/0.2085, allocations: 38.56 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.89 kB / 493 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4069, allocations: 62.46 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00914/0.416, allocations: 6.068 MB / 0.5484 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.4193, allocations: 1.39 MB / 0.5497 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.4198, allocations: 34.78 kB / 0.5497 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005906/0.4204, allocations: 151.4 kB / 0.5499 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.4214, allocations: 426.6 kB / 0.5503 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.422, allocations: 222.4 kB / 0.5505 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.4234, allocations: 1.113 MB / 0.5516 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004146/0.4238, allocations: 217.9 kB / 0.5518 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.4247, allocations: 495.6 kB / 0.5523 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009242/0.4257, allocations: 0.551 MB / 0.5528 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.4258, allocations: 69.47 kB / 0.5529 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.426, allocations: 65.97 kB / 0.5529 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.4263, allocations: 319.3 kB / 0.5533 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.4268, allocations: 308.8 kB / 0.5535 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.428, allocations: 0.8861 MB / 0.5544 GB, free: 7.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.428, allocations: 3.938 kB / 0.5544 GB, free: 7.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.428, allocations: 0 / 0.5544 GB, free: 7.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.428, allocations: 0 / 0.5544 GB, free: 7.703 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002443/0.4304, allocations: 0.9727 MB / 0.5554 GB, free: 6.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4305, allocations: 19.98 kB / 0.5554 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.4306, allocations: 76.47 kB / 0.5555 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.4319, allocations: 0.5117 MB / 0.556 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.4322, allocations: 223.6 kB / 0.5562 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.4323, allocations: 55.95 kB / 0.5562 GB, free: 5.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.4338, allocations: 0.7888 MB / 0.557 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.4339, allocations: 0 / 0.557 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/0.4339, allocations: 28 kB / 0.557 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.434, allocations: 32.97 kB / 0.5571 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.4355, allocations: 0.6908 MB / 0.5577 GB, free: 4.375 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004559/0.44, allocations: 2.416 MB / 0.5601 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.4418, allocations: 0.7075 MB / 0.5608 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.4424, allocations: 305.6 kB / 0.5611 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.4425, allocations: 4 kB / 0.5611 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.4425, allocations: 38.56 kB / 0.5611 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 1.923e-06/0.4425, allocations: 0 / 0.5611 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004002/0.4465, allocations: 1.649 MB / 0.5627 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.4466, allocations: 81.11 kB / 0.5628 GB, free: 15.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004802/0.4471, allocations: 389.5 kB / 0.5632 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.4471, allocations: 37.64 kB / 0.5632 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.4474, allocations: 324.8 kB / 0.5635 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.4475, allocations: 142.7 kB / 0.5637 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.4477, allocations: 86.16 kB / 0.5637 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.4479, allocations: 358.8 kB / 0.5641 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.4484, allocations: 236.9 kB / 0.5643 GB, free: 13.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.449, allocations: 353.6 kB / 0.5646 GB, free: 13.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.4501, allocations: 0.5781 MB / 0.5652 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4501, allocations: 0 / 0.5652 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001434/0.4515, allocations: 0.7052 MB / 0.5659 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4516, allocations: 11.94 kB / 0.5659 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4516, allocations: 4 kB / 0.5659 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.4519, allocations: 77.92 kB / 0.566 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.4533, allocations: 287.5 kB / 0.5663 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006768/0.4601, allocations: 6.003 MB / 0.5721 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.4605, allocations: 35.95 kB / 0.5722 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.4606, allocations: 16 kB / 0.5722 GB, free: 4.863 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004407/0.461, allocations: 248.6 kB / 0.5724 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.4611, allocations: 47.66 kB / 0.5724 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.4626, allocations: 0.6544 MB / 0.5731 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4626, allocations: 4 kB / 0.5731 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4626, allocations: 0 / 0.5731 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.4626, allocations: 3.984 kB / 0.5731 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.4653, allocations: 1.248 MB / 0.5743 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4653, allocations: 4 kB / 0.5743 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.4669, allocations: 303.6 kB / 0.5746 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002874/0.4672, allocations: 89.53 kB / 0.5747 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.4673, allocations: 11.98 kB / 0.5747 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/0.47, allocations: 2.908 MB / 0.5775 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.47, allocations: 7.969 kB / 0.5776 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.472, allocations: 1.044 MB / 0.5786 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.4721, allocations: 43.7 kB / 0.5786 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.4722, allocations: 12 kB / 0.5786 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.4725, allocations: 39.89 kB / 0.5787 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.4727, allocations: 43.88 kB / 0.5787 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.4727, allocations: 11.98 kB / 0.5787 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003448/0.473, allocations: 263.2 kB / 0.579 GB, free: 13.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.473, allocations: 0 / 0.579 GB, free: 13.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000715/0.4738, allocations: 136 kB / 0.5791 GB, free: 13.45 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.4739, allocations: 115.2 kB / 0.5792 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.4766, allocations: 0.9689 MB / 0.5802 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4766, allocations: 0 / 0.5802 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.4785, allocations: 0.7161 MB / 0.5809 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/0.4793, allocations: 126.5 kB / 0.581 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.482, allocations: 1.438 MB / 0.5824 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.4824, allocations: 349.2 kB / 0.5827 GB, free: 9.625 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.4827, allocations: 88.38 kB / 0.5828 GB, free: 9.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.4828, allocations: 43.42 kB / 0.5828 GB, free: 9.496 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4828, allocations: 0 / 0.5828 GB, free: 9.496 MB / 430.1 MB Notification: Performance of Templates: time 0.01682/0.4996, allocations: 8.074 MB / 0.5907 GB, free: 1.535 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.771511361002922]