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.001004/0.001004, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001461/0.001461, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 18.57 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.082/1.082, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.249/0.249, allocations: 29.42 MB / 291.2 MB, free: 2.48 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.064e-05/4.243e-05, allocations: 3.016 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.0122/0.01225, allocations: 4.733 MB / 321.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00455/0.0168, allocations: 1.34 MB / 322.9 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.01702, allocations: 27.75 kB / 322.9 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.01737, allocations: 127.1 kB / 323.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000605/0.01797, allocations: 389.8 kB / 323.4 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.01819, allocations: 139.7 kB / 323.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.01873, allocations: 0.7708 MB / 324.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.01892, allocations: 133.3 kB / 324.5 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.01953, allocations: 0.5299 MB / 325 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.01985, allocations: 271.2 kB / 325.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.01989, allocations: 36 kB / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.973e-05/0.01994, allocations: 36 kB / 325.3 MB, free: 7.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.02006, allocations: 199.4 kB / 325.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.02019, allocations: 167.6 kB / 325.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.02052, allocations: 366.6 kB / 326.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.02052, allocations: 0 / 326.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.02052, allocations: 0 / 326.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.02053, allocations: 0 / 326.1 MB, free: 6.727 MB / 298.7 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.0008268/0.02136, allocations: 0.6842 MB / 326.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.02139, allocations: 15.98 kB / 326.8 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.0215, allocations: 60.89 kB / 326.8 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.02194, allocations: 381.3 kB / 327.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.02197, allocations: 41.34 kB / 327.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.02203, allocations: 40.31 kB / 327.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.02236, allocations: 358.7 kB / 327.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.02237, allocations: 0 / 327.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.02239, allocations: 16 kB / 327.6 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.02242, allocations: 21 kB / 327.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.02266, allocations: 122.8 kB / 327.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.0241, allocations: 1.627 MB / 329.4 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.02433, allocations: 137.2 kB / 329.5 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.849e-05/0.02441, allocations: 65.69 kB / 329.6 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.02443, allocations: 8 kB / 329.6 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.02444, allocations: 38.56 kB / 329.6 MB, free: 2.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.02445, allocations: 3.938 kB / 329.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000266/0.02471, allocations: 188.5 kB / 329.8 MB, free: 2.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.02474, allocations: 81.11 kB / 329.9 MB, free: 2.621 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.02491, allocations: 351 kB / 330.3 MB, free: 2.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.02492, allocations: 25.7 kB / 330.3 MB, free: 2.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.02501, allocations: 264.4 kB / 330.5 MB, free: 1.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.02505, allocations: 75.31 kB / 330.6 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.02511, allocations: 82.23 kB / 330.7 MB, free: 1.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.02518, allocations: 354.7 kB / 331 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.02521, allocations: 28.98 kB / 331.1 MB, free: 1.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.02544, allocations: 207.2 kB / 331.3 MB, free: 1.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.02561, allocations: 279.5 kB / 331.5 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02561, allocations: 4 kB / 331.6 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002639/0.02587, allocations: 280.6 kB / 331.8 MB, free: 0.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.02589, allocations: 8 kB / 331.8 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.02589, allocations: 4 kB / 331.8 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.02601, allocations: 56.27 kB / 331.9 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.02613, allocations: 75.84 kB / 332 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007194/0.02685, allocations: 1.309 MB / 333.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.02695, allocations: 43.62 kB / 333.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.02697, allocations: 16 kB / 333.3 MB, free: 14.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (43): * Single equations (assignments): 42 * 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.0001005/0.02707, allocations: 140.6 kB / 333.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.0271, allocations: 27.98 kB / 333.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.02724, allocations: 145.1 kB / 333.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.02724, allocations: 3.984 kB / 333.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.02724, allocations: 0 / 333.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.02725, allocations: 7.984 kB / 333.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.02762, allocations: 401.4 kB / 334 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.02762, allocations: 0 / 334 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.02773, allocations: 39.92 kB / 334.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.02773, allocations: 11.97 kB / 334.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.02774, allocations: 7.984 kB / 334.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.02774, allocations: 4 kB / 334.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02775, allocations: 0 / 334.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.02792, allocations: 266.7 kB / 334.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.02796, allocations: 47.64 kB / 334.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.02798, allocations: 0 / 334.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/0.02804, allocations: 8 kB / 334.4 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.02806, allocations: 19.91 kB / 334.4 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.02807, allocations: 4 kB / 334.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.832e-05/0.02815, allocations: 128.7 kB / 334.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02815, allocations: 0 / 334.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000502/0.02865, allocations: 111.8 kB / 334.7 MB, free: 13.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 22 * 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 8.585e-05/0.02873, allocations: 77.19 kB / 334.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.02902, allocations: 300.9 kB / 335 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.02903, allocations: 8 kB / 335.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.02908, allocations: 59.61 kB / 335.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.02938, allocations: 90.7 kB / 335.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.03039, allocations: 0.7854 MB / 336 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.922e-05/0.03047, allocations: 137.2 kB / 336.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000104/0.03058, allocations: 47.38 kB / 336.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.03069, allocations: 119.3 kB / 336.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.03069, allocations: 7.938 kB / 336.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of Templates: time 0.006801/0.03749, allocations: 3.868 MB / 340.2 MB, free: 8.016 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.144830227829516]