Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001234/0.001234, allocations: 111.1 kB / 20.44 MB, free: 1.051 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.001491/0.001491, allocations: 212.2 kB / 23.73 MB, free: 4.152 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2054/0.2054, allocations: 38.55 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.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [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.002263/0.002263, allocations: 79.88 kB / 493 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4351, allocations: 62.46 MB / 0.5424 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008161/0.4433, allocations: 5.3 MB / 0.5476 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.4463, allocations: 1.273 MB / 0.5488 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000362/0.4467, allocations: 26.97 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.4473, allocations: 120.8 kB / 0.549 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.4484, allocations: 386.8 kB / 0.5494 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.4487, allocations: 142.2 kB / 0.5495 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009815/0.4497, allocations: 0.743 MB / 0.5502 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.45, allocations: 125.6 kB / 0.5503 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006268/0.4506, allocations: 362.6 kB / 0.5507 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006938/0.4513, allocations: 379.2 kB / 0.551 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/0.4514, allocations: 40.5 kB / 0.5511 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.4515, allocations: 36.78 kB / 0.5511 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.4517, allocations: 202.5 kB / 0.5513 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.452, allocations: 202.6 kB / 0.5515 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007044/0.4527, allocations: 0.5334 MB / 0.552 GB, free: 9.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4527, allocations: 0 / 0.552 GB, free: 9.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.4527, allocations: 5.141 kB / 0.552 GB, free: 9.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.4527, allocations: 4 kB / 0.552 GB, free: 9.312 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001481/0.4542, allocations: 0.736 MB / 0.5528 GB, free: 8.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4542, allocations: 14.17 kB / 0.5528 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.4543, allocations: 57.06 kB / 0.5528 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009261/0.4553, allocations: 427.5 kB / 0.5532 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.4553, allocations: 33.16 kB / 0.5533 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.4554, allocations: 36.66 kB / 0.5533 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/0.4562, allocations: 0.5019 MB / 0.5538 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4562, allocations: 0 / 0.5538 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.4563, allocations: 16.38 kB / 0.5538 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/0.4563, allocations: 18.5 kB / 0.5538 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.457, allocations: 369.7 kB / 0.5542 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.4597, allocations: 1.861 MB / 0.556 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.4602, allocations: 225.2 kB / 0.5562 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.4604, allocations: 123.6 kB / 0.5563 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4604, allocations: 4 kB / 0.5563 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4605, allocations: 30.56 kB / 0.5564 GB, free: 5.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.724e-06/0.4605, allocations: 0 / 0.5564 GB, free: 5.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001493/0.462, allocations: 0.6889 MB / 0.557 GB, free: 4.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4621, allocations: 85.09 kB / 0.5571 GB, free: 4.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.4626, allocations: 381.4 kB / 0.5575 GB, free: 4.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.4626, allocations: 29.7 kB / 0.5575 GB, free: 4.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.4629, allocations: 300 kB / 0.5578 GB, free: 4.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.586e-05/0.463, allocations: 87.25 kB / 0.5579 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.4631, allocations: 78.09 kB / 0.5579 GB, free: 3.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4633, allocations: 354.7 kB / 0.5583 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.4635, allocations: 84.81 kB / 0.5584 GB, free: 3.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.4638, allocations: 277.2 kB / 0.5586 GB, free: 3.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.4644, allocations: 407.4 kB / 0.559 GB, free: 2.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4644, allocations: 0 / 0.559 GB, free: 2.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008278/0.4653, allocations: 457.6 kB / 0.5594 GB, free: 2.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.4653, allocations: 8 kB / 0.5595 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4653, allocations: 4 kB / 0.5595 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.4655, allocations: 57.36 kB / 0.5595 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.4658, allocations: 83.84 kB / 0.5596 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.4675, allocations: 1.48 MB / 0.561 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.4677, allocations: 19.98 kB / 0.5611 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.4677, allocations: 16 kB / 0.5611 GB, free: 472 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002818/0.468, allocations: 208.8 kB / 0.5613 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.4681, allocations: 47.66 kB / 0.5613 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.4685, allocations: 239.5 kB / 0.5615 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4685, allocations: 7.938 kB / 0.5616 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.4685, allocations: 0 / 0.5616 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4685, allocations: 7.984 kB / 0.5616 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00091/0.4694, allocations: 0.5818 MB / 0.5621 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4694, allocations: 0 / 0.5621 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.4696, allocations: 43.97 kB / 0.5622 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.4696, allocations: 4 kB / 0.5622 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.4697, allocations: 7.938 kB / 0.5622 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.4697, allocations: 12 kB / 0.5622 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4697, allocations: 0 / 0.5622 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.4702, allocations: 422.3 kB / 0.5626 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4703, allocations: 51.73 kB / 0.5626 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.4703, allocations: 3.938 kB / 0.5627 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.4705, allocations: 8 kB / 0.5627 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.4705, allocations: 23.91 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4705, allocations: 4 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002714/0.4708, allocations: 251.2 kB / 0.5629 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4708, allocations: 0 / 0.5629 GB, free: 14.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.4713, allocations: 92.06 kB / 0.563 GB, free: 14.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001234/0.4714, allocations: 99.23 kB / 0.5631 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00066/0.4721, allocations: 371 kB / 0.5635 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4721, allocations: 4.062 kB / 0.5635 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.4722, allocations: 83.84 kB / 0.5635 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.4728, allocations: 102.3 kB / 0.5636 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.4744, allocations: 0.8631 MB / 0.5645 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.4747, allocations: 257.9 kB / 0.5647 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.4749, allocations: 76.12 kB / 0.5648 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.475, allocations: 31.44 kB / 0.5648 GB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.475, allocations: 0 / 0.5648 GB, free: 12.45 MB / 414.1 MB Notification: Performance of Templates: time 0.009794/0.4848, allocations: 4.191 MB / 0.5689 GB, free: 8.344 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.488984635099769]