Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.0008661/0.0008661, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009678/0.0009678, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.293 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.2478/0.2478, allocations: 29.42 MB / 290.9 MB, free: 2.48 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.707e-05, allocations: 6.312 kB / 369.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005039/0.005066, allocations: 3.923 MB / 373.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.006545, allocations: 0.9038 MB / 374.5 MB, free: 6.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.006785, allocations: 19.81 kB / 374.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.006998, allocations: 43.62 kB / 374.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005933/0.007591, allocations: 186.8 kB / 374.7 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.007841, allocations: 95.75 kB / 374.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.008302, allocations: 414.3 kB / 375.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.00851, allocations: 74.62 kB / 375.3 MB, free: 5.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005349/0.009045, allocations: 287.2 kB / 375.6 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.009326, allocations: 143.6 kB / 375.7 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.009372, allocations: 20 kB / 375.7 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/0.009416, allocations: 16 kB / 375.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.009522, allocations: 103.7 kB / 375.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.009634, allocations: 91.77 kB / 375.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.009981, allocations: 207.1 kB / 376.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.009985, allocations: 0 / 376.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009986, allocations: 4 kB / 376.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.009996, allocations: 0 / 376.1 MB, free: 4.492 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007153/0.01071, allocations: 0.6138 MB / 376.8 MB, free: 3.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.01075, allocations: 11.98 kB / 376.8 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.01083, allocations: 56.7 kB / 376.8 MB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.01114, allocations: 285.9 kB / 377.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.01116, allocations: 24.88 kB / 377.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.0112, allocations: 24.36 kB / 377.2 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.01148, allocations: 246.4 kB / 377.4 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.01149, allocations: 3.984 kB / 377.4 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.01151, allocations: 12 kB / 377.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.01152, allocations: 4 kB / 377.4 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.01166, allocations: 88.94 kB / 377.5 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.01316, allocations: 1.415 MB / 378.9 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.01344, allocations: 106.1 kB / 379 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.01348, allocations: 35.42 kB / 379.1 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.0135, allocations: 0 / 379.1 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.01353, allocations: 41.39 kB / 379.1 MB, free: 1.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.01353, allocations: 0 / 379.1 MB, free: 1.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.000635/0.01416, allocations: 389 kB / 379.5 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.0142, allocations: 77.11 kB / 379.6 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.01437, allocations: 296.2 kB / 379.8 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.01438, allocations: 29.7 kB / 379.9 MB, free: 472 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.01449, allocations: 242.9 kB / 380.1 MB, free: 220 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.01452, allocations: 47.58 kB / 380.2 MB, free: 172 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.01457, allocations: 47.36 kB / 380.2 MB, free: 116 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.01471, allocations: 0.5001 MB / 380.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/0.01475, allocations: 23.97 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/0.01484, allocations: 159.4 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.01501, allocations: 211 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01501, allocations: 0 / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002302/0.01524, allocations: 181.5 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01526, allocations: 12.06 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.01526, allocations: 4 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.01528, allocations: 4 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.01538, allocations: 47.91 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.01539, allocations: 4 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.01545, allocations: 12 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01546, allocations: 11.94 kB / 381.4 MB, free: 14.81 MB / 362.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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.484e-05/0.01556, allocations: 172.5 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.01559, allocations: 35.8 kB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.01575, allocations: 111.4 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01575, allocations: 4 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01575, allocations: 0 / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01576, allocations: 3.984 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.0162, allocations: 440.9 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.0162, allocations: 0 / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.01632, allocations: 23.98 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01632, allocations: 0 / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.01634, allocations: 0 / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.01634, allocations: 4 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01634, allocations: 0 / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.01662, allocations: 313.4 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.01665, allocations: 23.8 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.01667, allocations: 4 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.01672, allocations: 4 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.01674, allocations: 7.984 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01675, allocations: 0 / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.01686, allocations: 209 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01686, allocations: 0 / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002216/0.01708, allocations: 48 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * 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 9.804e-05/0.01718, allocations: 103.2 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.0174, allocations: 97.89 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.0174, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/0.01748, allocations: 39.61 kB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.01786, allocations: 63 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.01898, allocations: 0.5137 MB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.699e-05/0.01905, allocations: 96.3 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.01916, allocations: 34.27 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.0192, allocations: 20.5 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01921, allocations: 0 / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of Templates: time 0.005392/0.0246, allocations: 2.166 MB / 385.9 MB, free: 10.21 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.9997996580787003]