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.001415/0.001415, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001083/0.001083, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9379/0.9379, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1273/0.1273, allocations: 29.43 MB / 292 MB, free: 2.621 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 1.854e-06/1.854e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.317e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.003438/0.003461, allocations: 3.971 MB / 374.9 MB, free: 28.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004567, allocations: 0.9388 MB / 375.8 MB, free: 27.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.004721, allocations: 19.88 kB / 375.8 MB, free: 27.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.004892, allocations: 55.48 kB / 375.9 MB, free: 27.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.005331, allocations: 242.7 kB / 376.1 MB, free: 27.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.005518, allocations: 99.73 kB / 376.2 MB, free: 26.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.005823, allocations: 0.5099 MB / 376.7 MB, free: 26.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.005987, allocations: 104.6 kB / 376.8 MB, free: 26.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.006347, allocations: 343 kB / 377.2 MB, free: 26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.006603, allocations: 231.4 kB / 377.4 MB, free: 25.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.006635, allocations: 24 kB / 377.4 MB, free: 25.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.49e-05/0.00667, allocations: 24 kB / 377.4 MB, free: 25.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.794e-05/0.006768, allocations: 155.6 kB / 377.6 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.006847, allocations: 111.8 kB / 377.7 MB, free: 25.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.007095, allocations: 270.9 kB / 378 MB, free: 25.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.007099, allocations: 4 kB / 378 MB, free: 25.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.0071, allocations: 0 / 378 MB, free: 25.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.007107, allocations: 4 kB / 378 MB, free: 25.2 MB / 314.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.0005808/0.007688, allocations: 0.6676 MB / 378.6 MB, free: 24.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.007723, allocations: 16.02 kB / 378.6 MB, free: 24.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.007786, allocations: 56.66 kB / 378.7 MB, free: 24.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.008059, allocations: 294 kB / 379 MB, free: 24.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.008077, allocations: 20.88 kB / 379 MB, free: 24.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.008113, allocations: 24.38 kB / 379 MB, free: 24.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.008332, allocations: 259.7 kB / 379.3 MB, free: 23.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.008344, allocations: 11.94 kB / 379.3 MB, free: 23.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.008362, allocations: 11.98 kB / 379.3 MB, free: 23.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.491e-05/0.008447, allocations: 16.48 kB / 379.3 MB, free: 23.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.008561, allocations: 83.36 kB / 379.4 MB, free: 23.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008541/0.009415, allocations: 1.425 MB / 380.8 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.009605, allocations: 126.1 kB / 381 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.009676, allocations: 55.41 kB / 381 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.009693, allocations: 0 / 381 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.009713, allocations: 45.33 kB / 381.1 MB, free: 21.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.009714, allocations: 0 / 381.1 MB, free: 21.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006381/0.01035, allocations: 387.9 kB / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.01038, allocations: 81.05 kB / 381.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.01051, allocations: 334 kB / 381.8 MB, free: 21.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.01052, allocations: 29.7 kB / 381.9 MB, free: 21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.0106, allocations: 274.7 kB / 382.1 MB, free: 20.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.01062, allocations: 55.52 kB / 382.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.01066, allocations: 59.3 kB / 382.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.01073, allocations: 0.5117 MB / 382.8 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.01076, allocations: 27.97 kB / 382.8 MB, free: 20.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.01082, allocations: 159 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.01095, allocations: 215.1 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01095, allocations: 3.938 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002245/0.01117, allocations: 212.8 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.01119, allocations: 8.438 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.0112, allocations: 8 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.01134, allocations: 35.59 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.01144, allocations: 47.92 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005783/0.01202, allocations: 1.748 MB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.418e-05/0.01209, allocations: 4 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.0121, allocations: 12 kB / 385.2 MB, free: 17.36 MB / 314.7 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 (28): * Single equations (assignments): 27 * 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 7.983e-05/0.01218, allocations: 176.5 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.01222, allocations: 31.8 kB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.01239, allocations: 151.1 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01239, allocations: 0 / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.0124, allocations: 8 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.0124, allocations: 3.984 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.01275, allocations: 480.1 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01276, allocations: 0 / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.01281, allocations: 20 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.01292, allocations: 35.59 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.01294, allocations: 11.98 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004571/0.01339, allocations: 1.74 MB / 387.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01339, allocations: 3.984 kB / 387.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.0136, allocations: 349.7 kB / 388.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.01362, allocations: 23.81 kB / 388.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.01364, allocations: 8 kB / 388.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.0137, allocations: 0 / 388.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.01372, allocations: 16.12 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01373, allocations: 8 kB / 388.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.01381, allocations: 214.9 kB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01381, allocations: 0 / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.01405, allocations: 64 kB / 388.5 MB, free: 13.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0001214/0.01417, allocations: 107.2 kB / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.01447, allocations: 298.4 kB / 388.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01448, allocations: 0 / 388.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.01461, allocations: 241.3 kB / 389.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.01494, allocations: 73 kB / 389.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.01588, allocations: 0.6436 MB / 389.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.512e-05/0.01594, allocations: 116.3 kB / 390 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.01601, allocations: 34.95 kB / 390 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.0161, allocations: 118.2 kB / 390.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01611, allocations: 0 / 390.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of Templates: time 0.004908/0.02101, allocations: 3.312 MB / 393.5 MB, free: 8.887 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.1395194539800286]