Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1826/0.1826, allocations: 38.53 MB / 344.5 MB, free: 2.598 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7500,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 482.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3652, allocations: 61.24 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005674/0.3709, allocations: 5.646 MB / 0.5361 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3727, allocations: 1.38 MB / 0.5374 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.3729, allocations: 19.59 kB / 0.5375 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.3732, allocations: 135.8 kB / 0.5376 GB, free: 408 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006403/0.3739, allocations: 386.2 kB / 0.538 GB, free: 96 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.3742, allocations: 150.5 kB / 0.5381 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008043/0.375, allocations: 0.7861 MB / 0.5389 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.3752, allocations: 144.8 kB / 0.539 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.3757, allocations: 341.1 kB / 0.5393 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005987/0.3763, allocations: 425.3 kB / 0.5397 GB, free: 15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.3764, allocations: 43.5 kB / 0.5398 GB, free: 15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.622e-05/0.3764, allocations: 40.22 kB / 0.5398 GB, free: 15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.3767, allocations: 210.3 kB / 0.54 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.3769, allocations: 275.6 kB / 0.5403 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.3776, allocations: 0.5856 MB / 0.5409 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3776, allocations: 0 / 0.5409 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3776, allocations: 0.9062 kB / 0.5409 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3776, allocations: 0 / 0.5409 GB, free: 14.29 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001487/0.3791, allocations: 0.9079 MB / 0.5417 GB, free: 13.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3791, allocations: 9.188 kB / 0.5418 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.3793, allocations: 65.64 kB / 0.5418 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.3801, allocations: 0.5158 MB / 0.5423 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.3801, allocations: 37.89 kB / 0.5424 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.3802, allocations: 39.66 kB / 0.5424 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/0.381, allocations: 0.5334 MB / 0.5429 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.381, allocations: 1.406 kB / 0.5429 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.3811, allocations: 16.84 kB / 0.5429 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.3811, allocations: 17.97 kB / 0.5429 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.3817, allocations: 396.2 kB / 0.5433 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/0.3841, allocations: 1.922 MB / 0.5452 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.3847, allocations: 312.3 kB / 0.5455 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.385, allocations: 164.2 kB / 0.5457 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.385, allocations: 7.234 kB / 0.5457 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003945/0.3854, allocations: 289.7 kB / 0.5459 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.3854, allocations: 0 / 0.5459 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.001886/0.3873, allocations: 1.199 MB / 0.5471 GB, free: 9.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.3874, allocations: 165 kB / 0.5473 GB, free: 9.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.3878, allocations: 398.4 kB / 0.5476 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.3879, allocations: 36.58 kB / 0.5477 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.3881, allocations: 295.5 kB / 0.548 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.3882, allocations: 128 kB / 0.5481 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3884, allocations: 90.67 kB / 0.5482 GB, free: 8.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3885, allocations: 357.9 kB / 0.5485 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.3887, allocations: 117.8 kB / 0.5486 GB, free: 8.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.3891, allocations: 289.8 kB / 0.5489 GB, free: 7.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006259/0.3897, allocations: 483.5 kB / 0.5494 GB, free: 7.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3897, allocations: 6.25 kB / 0.5494 GB, free: 7.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008309/0.3905, allocations: 0.5218 MB / 0.5499 GB, free: 7.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.3906, allocations: 43.05 kB / 0.5499 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3906, allocations: 4.438 kB / 0.5499 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.3906, allocations: 9.062 kB / 0.5499 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.391, allocations: 107.8 kB / 0.55 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.3911, allocations: 16.14 kB / 0.5501 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.3913, allocations: 24.58 kB / 0.5501 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.3914, allocations: 30.05 kB / 0.5501 GB, free: 7.109 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.3916, allocations: 250.9 kB / 0.5503 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.3917, allocations: 62.31 kB / 0.5504 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/0.3924, allocations: 449.7 kB / 0.5508 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.3924, allocations: 3.812 kB / 0.5508 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3924, allocations: 0 / 0.5508 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3925, allocations: 5.203 kB / 0.5508 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.3939, allocations: 0.9772 MB / 0.5518 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3939, allocations: 1.156 kB / 0.5518 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.3942, allocations: 68.17 kB / 0.5519 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3942, allocations: 2.281 kB / 0.5519 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.3942, allocations: 9.094 kB / 0.5519 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3942, allocations: 2.25 kB / 0.5519 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3942, allocations: 5.125 kB / 0.5519 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.3952, allocations: 0.7178 MB / 0.5526 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.3954, allocations: 148.7 kB / 0.5527 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.3954, allocations: 8 kB / 0.5527 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.3957, allocations: 15.98 kB / 0.5527 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.3957, allocations: 27.91 kB / 0.5528 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.3958, allocations: 35.97 kB / 0.5528 GB, free: 5.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002923/0.3961, allocations: 271.1 kB / 0.5531 GB, free: 4.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3961, allocations: 0 / 0.5531 GB, free: 4.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004594/0.3965, allocations: 100 kB / 0.5532 GB, free: 4.746 MB / 398.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: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.000145/0.3967, allocations: 111.2 kB / 0.5533 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.3973, allocations: 391.9 kB / 0.5536 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3973, allocations: 0 / 0.5536 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.3977, allocations: 223.1 kB / 0.5539 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.3983, allocations: 116.6 kB / 0.554 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.4003, allocations: 0.987 MB / 0.5549 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.401, allocations: 0.8858 MB / 0.5558 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.4012, allocations: 92.31 kB / 0.5559 GB, free: 1.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.4013, allocations: 35.42 kB / 0.5559 GB, free: 1.836 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4013, allocations: 0 / 0.5559 GB, free: 1.836 MB / 398.1 MB Notification: Performance of Templates: time 0.009883/0.4112, allocations: 4.515 MB / 0.5603 GB, free: 13.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.0595149891451]