Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.00142/0.00142, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001534/0.001534, allocations: 189.4 kB / 23.72 MB, free: 4.68 MB / 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.474/1.474, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1789/0.1789, allocations: 38.54 MB / 346.3 MB, free: 2.125 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 63.88 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3931, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005406/0.3985, allocations: 4.216 MB / 0.5372 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3999, allocations: 0.9279 MB / 0.5381 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.4, allocations: 18.75 kB / 0.5381 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.4002, allocations: 47.62 kB / 0.5381 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004617/0.4007, allocations: 182.6 kB / 0.5383 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.4009, allocations: 84.28 kB / 0.5384 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.4013, allocations: 406.4 kB / 0.5388 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.4015, allocations: 70.27 kB / 0.5388 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.4017, allocations: 194.9 kB / 0.539 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.4021, allocations: 190.6 kB / 0.5392 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.4021, allocations: 18.41 kB / 0.5392 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.782e-05/0.4022, allocations: 20.5 kB / 0.5392 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.4023, allocations: 92.91 kB / 0.5393 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.4024, allocations: 138.7 kB / 0.5395 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.4027, allocations: 288.8 kB / 0.5397 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4028, allocations: 4 kB / 0.5397 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4028, allocations: 0 / 0.5397 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.4028, allocations: 1.062 kB / 0.5397 GB, free: 0.7305 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009174/0.4037, allocations: 0.52 MB / 0.5402 GB, free: 296 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4037, allocations: 13.72 kB / 0.5403 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.4038, allocations: 35.73 kB / 0.5403 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.4042, allocations: 275.6 kB / 0.5406 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.4043, allocations: 25.31 kB / 0.5406 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.4043, allocations: 18.62 kB / 0.5406 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.4048, allocations: 288.8 kB / 0.5409 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4048, allocations: 0 / 0.5409 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.4049, allocations: 14.97 kB / 0.5409 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.4049, allocations: 5.5 kB / 0.5409 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.4052, allocations: 182.7 kB / 0.5411 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.4068, allocations: 1.192 MB / 0.5422 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.4071, allocations: 114.5 kB / 0.5423 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.4072, allocations: 42.27 kB / 0.5424 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.4072, allocations: 5.266 kB / 0.5424 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4072, allocations: 32.25 kB / 0.5424 GB, free: 14.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.4072, allocations: 0 / 0.5424 GB, free: 14.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008808/0.4081, allocations: 424.1 kB / 0.5428 GB, free: 14.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.4082, allocations: 78.2 kB / 0.5429 GB, free: 14.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.4085, allocations: 247.7 kB / 0.5431 GB, free: 13.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.4085, allocations: 26.89 kB / 0.5432 GB, free: 13.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.4086, allocations: 204.8 kB / 0.5434 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.4087, allocations: 45.5 kB / 0.5434 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.4088, allocations: 43.64 kB / 0.5434 GB, free: 13.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4089, allocations: 337.1 kB / 0.5438 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-05/0.409, allocations: 39.05 kB / 0.5438 GB, free: 13.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.4092, allocations: 136.5 kB / 0.5439 GB, free: 13.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.4094, allocations: 180.7 kB / 0.5441 GB, free: 12.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4094, allocations: 1.188 kB / 0.5441 GB, free: 12.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003207/0.4097, allocations: 214 kB / 0.5443 GB, free: 12.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4097, allocations: 6.469 kB / 0.5443 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4098, allocations: 3.406 kB / 0.5443 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.4098, allocations: 12.91 kB / 0.5443 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.4099, allocations: 47.19 kB / 0.5444 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.41, allocations: 4.719 kB / 0.5444 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.4101, allocations: 11.09 kB / 0.5444 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.4101, allocations: 9.281 kB / 0.5444 GB, free: 12.71 MB / 398.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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0001652/0.4103, allocations: 149 kB / 0.5445 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.4103, allocations: 29.58 kB / 0.5446 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.4106, allocations: 133.8 kB / 0.5447 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.4106, allocations: 11.05 kB / 0.5447 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4106, allocations: 0 / 0.5447 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4106, allocations: 3.938 kB / 0.5447 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.4112, allocations: 461.8 kB / 0.5451 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4112, allocations: 1.062 kB / 0.5451 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.4113, allocations: 17.94 kB / 0.5452 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4113, allocations: 1.25 kB / 0.5452 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4114, allocations: 6.188 kB / 0.5452 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.4114, allocations: 1.094 kB / 0.5452 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4114, allocations: 9.141 kB / 0.5452 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.4117, allocations: 280.8 kB / 0.5455 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.4118, allocations: 22.11 kB / 0.5455 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.4118, allocations: 10.12 kB / 0.5455 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4119, allocations: 1.094 kB / 0.5455 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.4119, allocations: 11.58 kB / 0.5455 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.412, allocations: 7.812 kB / 0.5455 GB, free: 11.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001647/0.4121, allocations: 173.5 kB / 0.5457 GB, free: 11.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4121, allocations: 0 / 0.5457 GB, free: 11.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.4125, allocations: 44.06 kB / 0.5457 GB, free: 11.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * 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.0001126/0.4126, allocations: 92.72 kB / 0.5458 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.4128, allocations: 116.2 kB / 0.5459 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4128, allocations: 1.094 kB / 0.5459 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.674e-05/0.4129, allocations: 44.05 kB / 0.546 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.4134, allocations: 56.55 kB / 0.546 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.4144, allocations: 0.5468 MB / 0.5465 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.4149, allocations: 0.7708 MB / 0.5473 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.415, allocations: 33.55 kB / 0.5473 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.4151, allocations: 20.88 kB / 0.5473 GB, free: 10.31 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4151, allocations: 7.938 kB / 0.5474 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Templates: time 0.006972/0.4221, allocations: 2.171 MB / 0.5495 GB, free: 9.227 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.133070537820458]