Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001403/0.001403, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001819/0.001819, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.591/1.591, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1929/0.1929, allocations: 38.56 MB / 352.5 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] 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.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [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.002751/0.002751, allocations: 75.89 kB / 493 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4134, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.009596/0.423, allocations: 4.756 MB / 0.5471 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.4269, allocations: 1.243 MB / 0.5483 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.4273, allocations: 21.53 kB / 0.5483 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.428, allocations: 120.7 kB / 0.5484 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.4292, allocations: 327.2 kB / 0.5487 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.4299, allocations: 162.5 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.431, allocations: 0.7041 MB / 0.5496 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.4313, allocations: 105.1 kB / 0.5497 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006398/0.4319, allocations: 326.8 kB / 0.55 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.433, allocations: 455.4 kB / 0.5504 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.492e-05/0.4331, allocations: 44.72 kB / 0.5505 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.4332, allocations: 47.22 kB / 0.5505 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.4335, allocations: 246.8 kB / 0.5507 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.434, allocations: 238.1 kB / 0.551 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008696/0.4349, allocations: 0.6145 MB / 0.5516 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4349, allocations: 3.938 kB / 0.5516 GB, free: 9.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4349, allocations: 0 / 0.5516 GB, free: 9.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4349, allocations: 1.031 kB / 0.5516 GB, free: 9.77 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002496/0.4374, allocations: 0.8866 MB / 0.5524 GB, free: 9.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/0.4375, allocations: 13.73 kB / 0.5525 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.4377, allocations: 58.3 kB / 0.5525 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.4391, allocations: 0.5551 MB / 0.5531 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/0.4392, allocations: 26.38 kB / 0.5531 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.4393, allocations: 39.88 kB / 0.5531 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.4404, allocations: 0.5494 MB / 0.5537 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4404, allocations: 0 / 0.5537 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.4404, allocations: 11.34 kB / 0.5537 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000404/0.4408, allocations: 84 kB / 0.5537 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.4415, allocations: 364.1 kB / 0.5541 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003316/0.4448, allocations: 1.881 MB / 0.5559 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009318/0.4458, allocations: 379.2 kB / 0.5563 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.4463, allocations: 285.6 kB / 0.5566 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.4464, allocations: 4 kB / 0.5566 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.4464, allocations: 38.5 kB / 0.5566 GB, free: 5.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.725e-06/0.4464, allocations: 0 / 0.5566 GB, free: 5.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004639/0.451, allocations: 1.94 MB / 0.5585 GB, free: 3.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.4511, allocations: 85.11 kB / 0.5586 GB, free: 3.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.4516, allocations: 381.7 kB / 0.5589 GB, free: 3.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.4516, allocations: 33.7 kB / 0.559 GB, free: 2.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.4519, allocations: 248.6 kB / 0.5592 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.452, allocations: 146.8 kB / 0.5594 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.4522, allocations: 102.1 kB / 0.5595 GB, free: 2.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.4524, allocations: 358.7 kB / 0.5598 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.4527, allocations: 244.8 kB / 0.56 GB, free: 1.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.4532, allocations: 358.1 kB / 0.5604 GB, free: 1.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000869/0.4541, allocations: 0.6157 MB / 0.561 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4541, allocations: 3.938 kB / 0.561 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001798/0.4559, allocations: 1.006 MB / 0.562 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4559, allocations: 8 kB / 0.562 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4559, allocations: 7.938 kB / 0.562 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.4569, allocations: 409.3 kB / 0.5624 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.4572, allocations: 79.84 kB / 0.5624 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005591/0.4628, allocations: 4.856 MB / 0.5672 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.4633, allocations: 39.95 kB / 0.5672 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.4633, allocations: 19.94 kB / 0.5672 GB, free: 10.19 MB / 414.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000355/0.4636, allocations: 209.5 kB / 0.5674 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/0.4637, allocations: 39.77 kB / 0.5675 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.4652, allocations: 0.8309 MB / 0.5683 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4652, allocations: 4 kB / 0.5683 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4652, allocations: 7.984 kB / 0.5683 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4653, allocations: 0 / 0.5683 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.4675, allocations: 1.293 MB / 0.5696 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4675, allocations: 0 / 0.5696 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.4676, allocations: 39.95 kB / 0.5696 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.4688, allocations: 441.3 kB / 0.57 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.4689, allocations: 35.97 kB / 0.5701 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005878/0.4747, allocations: 6.205 MB / 0.5761 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4747, allocations: 0 / 0.5761 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.4767, allocations: 1.106 MB / 0.5772 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.4768, allocations: 35.72 kB / 0.5772 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.4769, allocations: 31.98 kB / 0.5773 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.4772, allocations: 35.94 kB / 0.5773 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.4774, allocations: 43.86 kB / 0.5773 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.4774, allocations: 15.92 kB / 0.5773 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003724/0.4778, allocations: 259.1 kB / 0.5776 GB, free: 15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4778, allocations: 4.062 kB / 0.5776 GB, free: 14.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000827/0.4786, allocations: 156 kB / 0.5777 GB, free: 14.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001979/0.4788, allocations: 117.1 kB / 0.5779 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.4805, allocations: 0.8722 MB / 0.5787 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4805, allocations: 4 kB / 0.5787 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.4821, allocations: 0.8488 MB / 0.5795 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/0.4828, allocations: 139.5 kB / 0.5797 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.4859, allocations: 1.856 MB / 0.5815 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4863, allocations: 278.2 kB / 0.5818 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.4865, allocations: 76.34 kB / 0.5818 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.779e-05/0.4866, allocations: 35.42 kB / 0.5819 GB, free: 10.48 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4866, allocations: 0 / 0.5819 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Templates: time 0.01563/0.5022, allocations: 8.583 MB / 0.5902 GB, free: 1.996 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.812484931200743]