Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001688/0.001688, allocations: 114.2 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.001559/0.001559, allocations: 188.5 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.385/1.385, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.1782/0.1782, allocations: 38.52 MB / 344.5 MB, free: 2.625 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.88 kB / 482.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3625, allocations: 61.25 MB / 0.5306 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005362/0.3679, allocations: 4.697 MB / 0.5352 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.3699, allocations: 1.487 MB / 0.5366 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.3701, allocations: 12.81 kB / 0.5366 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009493/0.371, allocations: 394.2 kB / 0.537 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.3714, allocations: 235.7 kB / 0.5372 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.372, allocations: 252.4 kB / 0.5375 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.3724, allocations: 0.5611 MB / 0.538 GB, free: 224 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.3728, allocations: 215.8 kB / 0.5382 GB, free: 92 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.3731, allocations: 261.2 kB / 0.5385 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.3736, allocations: 339.6 kB / 0.5388 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.3736, allocations: 34.12 kB / 0.5388 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.3739, allocations: 151 kB / 0.539 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.3742, allocations: 228.9 kB / 0.5392 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.3745, allocations: 252.1 kB / 0.5394 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006972/0.3752, allocations: 0.6007 MB / 0.54 GB, free: 14.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3752, allocations: 4 kB / 0.54 GB, free: 14.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3752, allocations: 0 / 0.54 GB, free: 14.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3752, allocations: 1.281 kB / 0.54 GB, free: 14.98 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001342/0.3765, allocations: 0.7746 MB / 0.5408 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3766, allocations: 13.55 kB / 0.5408 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/0.3771, allocations: 94.75 kB / 0.5409 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.3778, allocations: 424.9 kB / 0.5413 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.3778, allocations: 29.16 kB / 0.5413 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.378, allocations: 60.62 kB / 0.5414 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000933/0.3789, allocations: 0.637 MB / 0.542 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.3789, allocations: 9.469 kB / 0.542 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.379, allocations: 21.47 kB / 0.542 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.3791, allocations: 28.8 kB / 0.542 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000744/0.3798, allocations: 489.4 kB / 0.5425 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.3835, allocations: 3.027 MB / 0.5455 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.3838, allocations: 167.7 kB / 0.5456 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.384, allocations: 111 kB / 0.5457 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.384, allocations: 3.156 kB / 0.5457 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3841, allocations: 31.97 kB / 0.5458 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/0.3841, allocations: 0 / 0.5458 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001446/0.3855, allocations: 0.8504 MB / 0.5466 GB, free: 9.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.3856, allocations: 87.33 kB / 0.5467 GB, free: 9.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.3859, allocations: 348.8 kB / 0.547 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.386, allocations: 30.8 kB / 0.547 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.3862, allocations: 307 kB / 0.5473 GB, free: 8.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.3863, allocations: 78.59 kB / 0.5474 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3864, allocations: 88.92 kB / 0.5475 GB, free: 8.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3866, allocations: 344 kB / 0.5478 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.3868, allocations: 124.1 kB / 0.5479 GB, free: 8.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.3872, allocations: 342.1 kB / 0.5483 GB, free: 8.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/0.3879, allocations: 0.4916 MB / 0.5488 GB, free: 7.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.3879, allocations: 2.156 kB / 0.5488 GB, free: 7.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001128/0.389, allocations: 0.553 MB / 0.5493 GB, free: 7.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3891, allocations: 7.656 kB / 0.5493 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000566/0.3896, allocations: 281.7 kB / 0.5496 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.39, allocations: 81.69 kB / 0.5496 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.3903, allocations: 95.02 kB / 0.5497 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.3924, allocations: 1.733 MB / 0.5514 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.3927, allocations: 18.39 kB / 0.5514 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.3928, allocations: 22.22 kB / 0.5515 GB, free: 5.562 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003386/0.3931, allocations: 227.9 kB / 0.5517 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.3932, allocations: 30.44 kB / 0.5517 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.3937, allocations: 290.5 kB / 0.552 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3937, allocations: 2.625 kB / 0.552 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3937, allocations: 3.984 kB / 0.552 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3937, allocations: 1.344 kB / 0.552 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.395, allocations: 0.7915 MB / 0.5528 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.395, allocations: 4 kB / 0.5528 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.3953, allocations: 58.16 kB / 0.5528 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.3953, allocations: 2.344 kB / 0.5528 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.3953, allocations: 7.406 kB / 0.5528 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3953, allocations: 2.25 kB / 0.5528 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.3953, allocations: 8.922 kB / 0.5529 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.396, allocations: 473.4 kB / 0.5533 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3961, allocations: 113.7 kB / 0.5534 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.3961, allocations: 8.25 kB / 0.5534 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.3963, allocations: 10.88 kB / 0.5534 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.3964, allocations: 20.66 kB / 0.5535 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.3964, allocations: 12.34 kB / 0.5535 GB, free: 4.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002985/0.3967, allocations: 232.4 kB / 0.5537 GB, free: 3.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3967, allocations: 0 / 0.5537 GB, free: 3.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005877/0.3973, allocations: 96.41 kB / 0.5538 GB, free: 3.938 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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.0001603/0.3974, allocations: 107 kB / 0.5539 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008267/0.3983, allocations: 432.7 kB / 0.5543 GB, free: 3.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.3983, allocations: 1.812 kB / 0.5543 GB, free: 3.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3984, allocations: 111.8 kB / 0.5544 GB, free: 3.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.3989, allocations: 75.77 kB / 0.5545 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.4006, allocations: 0.9994 MB / 0.5554 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.4011, allocations: 0.8701 MB / 0.5563 GB, free: 1.332 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.4014, allocations: 111.2 kB / 0.5564 GB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.4015, allocations: 31.42 kB / 0.5564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4015, allocations: 0 / 0.5564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of Templates: time 0.00865/0.4101, allocations: 3.814 MB / 0.5602 GB, free: 13.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.002272943034768]