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.001/0.001, 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.0009981/0.0009981, allocations: 171.4 kB / 24.91 MB, free: 8.777 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.9935/0.9935, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2688/0.2688, allocations: 29.43 MB / 291.2 MB, free: 2.387 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.523e-06/1.523e-06, allocations: 0 / 316.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.239e-05, allocations: 7.844 kB / 316.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004518/0.00454, allocations: 4.03 MB / 320.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.005903, allocations: 0.9511 MB / 321.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.00606, allocations: 19.81 kB / 321.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.006222, allocations: 51.55 kB / 322 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.006697, allocations: 242.6 kB / 322.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.006919, allocations: 107.7 kB / 322.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.007346, allocations: 0.5099 MB / 322.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.007518, allocations: 106.6 kB / 322.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004316/0.00795, allocations: 335.1 kB / 323.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.008223, allocations: 219.4 kB / 323.4 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.008259, allocations: 28 kB / 323.5 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.155e-05/0.0083, allocations: 20 kB / 323.5 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.00841, allocations: 155.6 kB / 323.6 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.295e-05/0.008503, allocations: 123.7 kB / 323.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.008742, allocations: 267 kB / 324 MB, free: 8.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.008744, allocations: 0 / 324 MB, free: 8.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.008745, allocations: 0 / 324 MB, free: 8.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.008749, allocations: 0 / 324 MB, free: 8.75 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.0005669/0.009316, allocations: 0.5352 MB / 324.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.00935, allocations: 19.97 kB / 324.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.009407, allocations: 44.91 kB / 324.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.009697, allocations: 292.4 kB / 324.9 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.009713, allocations: 20.88 kB / 324.9 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.009747, allocations: 28.36 kB / 325 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.009984, allocations: 243.8 kB / 325.2 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.009993, allocations: 0 / 325.2 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.01001, allocations: 12 kB / 325.2 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/0.01007, allocations: 16.48 kB / 325.2 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.01019, allocations: 94.14 kB / 325.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.01099, allocations: 1.022 MB / 326.3 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.01117, allocations: 166.5 kB / 326.5 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.01124, allocations: 41.77 kB / 326.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.01126, allocations: 8 kB / 326.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.01128, allocations: 30.56 kB / 326.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.01128, allocations: 0 / 326.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003577/0.01163, allocations: 190 kB / 326.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.01166, allocations: 77.11 kB / 326.8 MB, free: 5.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.01181, allocations: 262.9 kB / 327.1 MB, free: 5.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.01182, allocations: 29.7 kB / 327.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.0119, allocations: 196.4 kB / 327.3 MB, free: 5.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.01193, allocations: 59.64 kB / 327.4 MB, free: 5.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.01197, allocations: 45.92 kB / 327.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.816e-05/0.01206, allocations: 346.7 kB / 327.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.01209, allocations: 23.28 kB / 327.8 MB, free: 4.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.51e-05/0.01217, allocations: 112.9 kB / 327.9 MB, free: 4.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.01229, allocations: 160.2 kB / 328.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01229, allocations: 0 / 328.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001883/0.01248, allocations: 187.8 kB / 328.2 MB, free: 4.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.01249, allocations: 4 kB / 328.2 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.0125, allocations: 4 kB / 328.2 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.01261, allocations: 31.67 kB / 328.3 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.01271, allocations: 51.84 kB / 328.3 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006257/0.01334, allocations: 1.21 MB / 329.5 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.01342, allocations: 23.84 kB / 329.6 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.01343, allocations: 8 kB / 329.6 MB, free: 2.781 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 8.414e-05/0.01351, allocations: 132.5 kB / 329.7 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.01354, allocations: 27.91 kB / 329.7 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.0137, allocations: 129.7 kB / 329.8 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01371, allocations: 4.094 kB / 329.9 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01371, allocations: 8 kB / 329.9 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01371, allocations: 0 / 329.9 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.01404, allocations: 390.2 kB / 330.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01404, allocations: 0 / 330.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.0141, allocations: 27.98 kB / 330.3 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.854e-05/0.0142, allocations: 35.59 kB / 330.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01421, allocations: 8 kB / 330.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005693/0.01478, allocations: 1.232 MB / 331.5 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01478, allocations: 4 kB / 331.5 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.01499, allocations: 297.7 kB / 331.8 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.01501, allocations: 23.81 kB / 331.9 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.01503, allocations: 8.094 kB / 331.9 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.947e-05/0.01509, allocations: 8 kB / 331.9 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.01511, allocations: 11.97 kB / 331.9 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01512, allocations: 8 kB / 331.9 MB, free: 276 kB / 298.7 MB Notification: Performance of sorting global known variables: time 6.185e-05/0.01518, allocations: 92.62 kB / 332 MB, free: 180 kB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01518, allocations: 0 / 332 MB, free: 180 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.01539, allocations: 83.78 kB / 332.1 MB, free: 96 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 8.295e-05/0.01548, allocations: 88.34 kB / 332.2 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.0157, allocations: 206.6 kB / 332.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.0157, allocations: 3.938 kB / 332.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.01585, allocations: 171.4 kB / 332.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.0161, allocations: 81.12 kB / 332.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009008/0.017, allocations: 0.6187 MB / 333.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.949e-05/0.01707, allocations: 116.3 kB / 333.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.415e-05/0.01714, allocations: 30.97 kB / 333.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.01725, allocations: 95.36 kB / 333.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01725, allocations: 0 / 333.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Templates: time 0.004964/0.02221, allocations: 3.256 MB / 336.7 MB, free: 11.42 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 -s gbode -gbm=radauIIA3 -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: 2.8827664079144597]