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.001511/0.001511, allocations: 84.94 kB / 20.68 MB, free: 1.023 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.001618/0.001618, allocations: 167.9 kB / 23.96 MB, free: 4.152 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.373/1.373, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.1702/0.1702, allocations: 29.44 MB / 290.1 MB, free: 3.266 MB / 270.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,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=740,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.193e-06/1.193e-06, allocations: 0 / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.118e-05, allocations: 2.281 kB / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005493/0.005514, allocations: 4.011 MB / 434.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.00698, allocations: 0.8726 MB / 435.6 MB, free: 13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.007119, allocations: 15.81 kB / 435.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.007294, allocations: 55.5 kB / 435.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.007782, allocations: 178.9 kB / 435.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.007979, allocations: 95.73 kB / 435.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.008443, allocations: 414.4 kB / 436.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.008622, allocations: 70.64 kB / 436.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.009026, allocations: 251.2 kB / 436.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.009337, allocations: 163.5 kB / 436.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.009378, allocations: 16 kB / 436.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.009432, allocations: 20 kB / 436.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.009547, allocations: 103.6 kB / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.00968, allocations: 91.77 kB / 437 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.01003, allocations: 287.1 kB / 437.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.01004, allocations: 4 kB / 437.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01004, allocations: 0 / 437.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.01004, allocations: 0 / 437.3 MB, free: 11.27 MB / 366.1 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.0008872/0.01093, allocations: 0.5216 MB / 437.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.01097, allocations: 11.98 kB / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.01104, allocations: 32.75 kB / 437.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.01153, allocations: 287.6 kB / 438.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.01155, allocations: 20.88 kB / 438.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.01159, allocations: 16.38 kB / 438.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.01205, allocations: 303.7 kB / 438.5 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01206, allocations: 0 / 438.5 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.01208, allocations: 7.984 kB / 438.5 MB, free: 9.996 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.0121, allocations: 8 kB / 438.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.0124, allocations: 176.9 kB / 438.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.01388, allocations: 1.108 MB / 439.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.01419, allocations: 109.1 kB / 439.9 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.01428, allocations: 41.77 kB / 440 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.0143, allocations: 4 kB / 440 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.01432, allocations: 34.56 kB / 440 MB, free: 8.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.01433, allocations: 0 / 440 MB, free: 8.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008167/0.01514, allocations: 420.2 kB / 440.4 MB, free: 7.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.0152, allocations: 81.09 kB / 440.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.01545, allocations: 253.8 kB / 440.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.01547, allocations: 25.7 kB / 440.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.01562, allocations: 200 kB / 440.9 MB, free: 7.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.01566, allocations: 43.69 kB / 441 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.01573, allocations: 46.27 kB / 441 MB, free: 7.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.0159, allocations: 338.8 kB / 441.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/0.01598, allocations: 27.98 kB / 441.4 MB, free: 6.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.01612, allocations: 135.6 kB / 441.5 MB, free: 6.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.01642, allocations: 196.6 kB / 441.7 MB, free: 6.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01643, allocations: 0 / 441.7 MB, free: 6.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000337/0.01676, allocations: 209.1 kB / 441.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.01678, allocations: 8 kB / 441.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.01679, allocations: 4.438 kB / 441.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.01681, allocations: 8 kB / 441.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.01698, allocations: 47.91 kB / 442 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.01699, allocations: 4 kB / 442 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.0171, allocations: 8 kB / 442 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.01711, allocations: 8 kB / 442 MB, free: 6.219 MB / 366.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 (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 0.0002045/0.01732, allocations: 161.6 kB / 442.2 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.01736, allocations: 19.86 kB / 442.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.01761, allocations: 139.3 kB / 442.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01761, allocations: 0 / 442.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.01762, allocations: 8 kB / 442.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01762, allocations: 0 / 442.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.01813, allocations: 398.9 kB / 442.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01813, allocations: 0 / 442.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.01827, allocations: 27.94 kB / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01827, allocations: 0 / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01828, allocations: 7.984 kB / 442.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.01829, allocations: 4 kB / 442.8 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01829, allocations: 0 / 442.8 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.01866, allocations: 288.4 kB / 443 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.0187, allocations: 27.97 kB / 443.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.01873, allocations: 4 kB / 443.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.01883, allocations: 0 / 443.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.01886, allocations: 7.984 kB / 443.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.01888, allocations: 11.98 kB / 443.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.01905, allocations: 173.2 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01905, allocations: 96 / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.01936, allocations: 47.94 kB / 443.3 MB, free: 4.848 MB / 366.1 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 0.0001066/0.01946, allocations: 103.2 kB / 443.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.0197, allocations: 107.8 kB / 443.5 MB, free: 4.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0197, allocations: 3.938 kB / 443.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.01978, allocations: 43.92 kB / 443.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.02026, allocations: 56.7 kB / 443.6 MB, free: 4.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009135/0.02117, allocations: 0.4969 MB / 444.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.02136, allocations: 166.8 kB / 444.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.02147, allocations: 38.27 kB / 444.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.02152, allocations: 24.48 kB / 444.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.02153, allocations: 0 / 444.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of Templates: time 0.005987/0.02751, allocations: 2.037 MB / 446.4 MB, free: 1.766 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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: 4.464276656508446]