Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001013/0.001013, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.002141/0.002141, allocations: 170.3 kB / 24.91 MB, free: 8.723 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.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2839/0.2839, allocations: 29.42 MB / 291.2 MB, free: 2.43 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.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.778e-05, allocations: 3.297 kB / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005306/0.005344, allocations: 3.999 MB / 320.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.007313, allocations: 0.9471 MB / 321.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.007524, allocations: 19.81 kB / 321.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.007709, allocations: 51.55 kB / 321.9 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000523/0.008232, allocations: 250.6 kB / 322.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.008457, allocations: 103.7 kB / 322.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.008875, allocations: 0.5061 MB / 322.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.009076, allocations: 118.5 kB / 322.8 MB, free: 10 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.009545, allocations: 335.1 kB / 323.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.009818, allocations: 219.4 kB / 323.4 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.009857, allocations: 24 kB / 323.4 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.903e-05/0.009896, allocations: 20 kB / 323.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.01113, allocations: 159.6 kB / 323.6 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.01131, allocations: 123.6 kB / 323.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.01175, allocations: 267 kB / 324 MB, free: 8.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.01176, allocations: 0 / 324 MB, free: 8.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.01176, allocations: 0 / 324 MB, free: 8.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.01177, allocations: 0 / 324 MB, free: 8.879 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009829/0.01275, allocations: 0.5391 MB / 324.5 MB, free: 8.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.0128, allocations: 11.98 kB / 324.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.01292, allocations: 44.91 kB / 324.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.01342, allocations: 292.4 kB / 324.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.01345, allocations: 16.88 kB / 324.8 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.01352, allocations: 32.38 kB / 324.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.01392, allocations: 251.8 kB / 325.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.01393, allocations: 0 / 325.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.01396, allocations: 12 kB / 325.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.01407, allocations: 12.5 kB / 325.2 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.01425, allocations: 86.16 kB / 325.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.01563, allocations: 1.03 MB / 326.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.01595, allocations: 158.6 kB / 326.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/0.01604, allocations: 42.52 kB / 326.5 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.01606, allocations: 4 kB / 326.5 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.01609, allocations: 38.55 kB / 326.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.194e-06/0.01609, allocations: 0 / 326.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004566/0.01655, allocations: 178.2 kB / 326.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.0166, allocations: 85.09 kB / 326.8 MB, free: 5.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.01677, allocations: 266.9 kB / 327 MB, free: 5.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.01678, allocations: 33.62 kB / 327.1 MB, free: 5.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/0.01688, allocations: 192.4 kB / 327.2 MB, free: 5.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.01691, allocations: 59.5 kB / 327.3 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.01697, allocations: 45.92 kB / 327.3 MB, free: 5.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.01707, allocations: 342.7 kB / 327.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.344e-05/0.01711, allocations: 23.41 kB / 327.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.01719, allocations: 118.5 kB / 327.8 MB, free: 4.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.01733, allocations: 165.4 kB / 328 MB, free: 4.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01733, allocations: 0 / 328 MB, free: 4.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002236/0.01755, allocations: 167.8 kB / 328.1 MB, free: 4.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.01757, allocations: 8.406 kB / 328.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.01758, allocations: 8 kB / 328.2 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.01774, allocations: 31.66 kB / 328.2 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.01785, allocations: 51.86 kB / 328.2 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007866/0.01864, allocations: 1.213 MB / 329.5 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.607e-05/0.01872, allocations: 23.97 kB / 329.5 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01874, allocations: 8 kB / 329.5 MB, free: 2.914 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 26 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.01887, allocations: 136.5 kB / 329.6 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.0189, allocations: 19.92 kB / 329.6 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.01909, allocations: 137.5 kB / 329.8 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01909, allocations: 0 / 329.8 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.0191, allocations: 4 kB / 329.8 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.0191, allocations: 0 / 329.8 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.0195, allocations: 390.2 kB / 330.2 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.0195, allocations: 4 kB / 330.2 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.01956, allocations: 19.98 kB / 330.2 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.0197, allocations: 43.59 kB / 330.2 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.01972, allocations: 0 / 330.2 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007044/0.02042, allocations: 1.228 MB / 331.5 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02042, allocations: 0 / 331.5 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.02066, allocations: 297.7 kB / 331.7 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.02069, allocations: 27.8 kB / 331.8 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.02072, allocations: 11.94 kB / 331.8 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.02078, allocations: 0 / 331.8 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.0208, allocations: 15.97 kB / 331.8 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.02081, allocations: 7.938 kB / 331.8 MB, free: 424 kB / 298.7 MB Notification: Performance of sorting global known variables: time 6.879e-05/0.02088, allocations: 88.64 kB / 331.9 MB, free: 332 kB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02088, allocations: 4.094 kB / 331.9 MB, free: 328 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.02112, allocations: 87.78 kB / 332 MB, free: 240 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.000119/0.02124, allocations: 88.33 kB / 332.1 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.02153, allocations: 207.4 kB / 332.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.02153, allocations: 4 kB / 332.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.02171, allocations: 175.4 kB / 332.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.02201, allocations: 67.42 kB / 332.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.0231, allocations: 0.631 MB / 333.1 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.349e-05/0.02318, allocations: 112.3 kB / 333.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.609e-05/0.02326, allocations: 34.95 kB / 333.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.02337, allocations: 87.36 kB / 333.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 9.81e-07/0.02338, allocations: 4 kB / 333.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Templates: time 0.005916/0.02929, allocations: 3.255 MB / 336.6 MB, free: 11.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.2625609477981925]