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.001151/0.001151, 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.001332/0.001332, allocations: 167.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.965/0.965, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1154/0.1154, allocations: 29.44 MB / 292 MB, free: 2.605 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.283e-06/1.283e-06, allocations: 0 / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.466e-05, allocations: 2.312 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.003561/0.003575, allocations: 3.911 MB / 374.8 MB, free: 28.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004688, allocations: 0.8921 MB / 375.7 MB, free: 27.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.004857, allocations: 15.88 kB / 375.7 MB, free: 27.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.005037, allocations: 51.5 kB / 375.8 MB, free: 27.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.005412, allocations: 182.9 kB / 375.9 MB, free: 27.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.005561, allocations: 95.69 kB / 376 MB, free: 27.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.005838, allocations: 414.4 kB / 376.4 MB, free: 26.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.006011, allocations: 78.61 kB / 376.5 MB, free: 26.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.0064, allocations: 291.2 kB / 376.8 MB, free: 26.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.006593, allocations: 139.6 kB / 376.9 MB, free: 26.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.006625, allocations: 20 kB / 377 MB, free: 26.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.785e-05/0.006653, allocations: 16 kB / 377 MB, free: 26.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.02e-05/0.006733, allocations: 107.6 kB / 377.1 MB, free: 26.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.631e-05/0.00682, allocations: 95.77 kB / 377.2 MB, free: 25.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.007051, allocations: 199.2 kB / 377.4 MB, free: 25.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.007056, allocations: 4 kB / 377.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007057, allocations: 0 / 377.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.007063, allocations: 0 / 377.4 MB, free: 25.79 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005451/0.007608, allocations: 0.6136 MB / 378 MB, free: 25.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.007645, allocations: 12.03 kB / 378 MB, free: 25.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.007704, allocations: 48.7 kB / 378 MB, free: 25.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.007978, allocations: 282 kB / 378.3 MB, free: 24.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.007994, allocations: 16.88 kB / 378.3 MB, free: 24.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.008022, allocations: 20.38 kB / 378.4 MB, free: 24.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.008209, allocations: 238.3 kB / 378.6 MB, free: 24.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.00822, allocations: 0 / 378.6 MB, free: 24.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.008234, allocations: 7.938 kB / 378.6 MB, free: 24.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.008242, allocations: 8 kB / 378.6 MB, free: 24.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.00832, allocations: 76.98 kB / 378.7 MB, free: 24.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.009047, allocations: 1.415 MB / 380.1 MB, free: 22.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.009235, allocations: 102.1 kB / 380.2 MB, free: 22.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.009266, allocations: 43.42 kB / 380.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.009283, allocations: 4 kB / 380.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.009302, allocations: 37.33 kB / 380.3 MB, free: 22.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.009304, allocations: 0 / 380.3 MB, free: 22.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004725/0.009777, allocations: 297.2 kB / 380.6 MB, free: 22.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.009809, allocations: 81.11 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.009927, allocations: 296.1 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.009934, allocations: 25.7 kB / 381 MB, free: 21.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.01001, allocations: 254.9 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.01003, allocations: 35.69 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.01007, allocations: 59.3 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.01012, allocations: 0.504 MB / 381.8 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.01015, allocations: 15.98 kB / 381.8 MB, free: 21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.01021, allocations: 159.2 kB / 382 MB, free: 20.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.01032, allocations: 195 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01032, allocations: 0 / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001517/0.01047, allocations: 181.1 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.01049, allocations: 8 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01049, allocations: 0 / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.0105, allocations: 8 kB / 382.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.0106, allocations: 47.86 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.0106, allocations: 8.375 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.01066, allocations: 8 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.01067, allocations: 15.98 kB / 382.4 MB, free: 20.25 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 (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 6.32e-05/0.01073, allocations: 176.4 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.01076, allocations: 23.86 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.01087, allocations: 103.4 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.01087, allocations: 0 / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01088, allocations: 0 / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01088, allocations: 4 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.0111, allocations: 389.5 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01111, allocations: 0 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.01118, allocations: 32.02 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01118, allocations: 0 / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.01119, allocations: 11.94 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01119, allocations: 0 / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01119, allocations: 0 / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.01135, allocations: 291.8 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.01136, allocations: 19.86 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.01138, allocations: 4 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.01143, allocations: 4 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.01145, allocations: 7.922 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.01145, allocations: 8.031 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.43e-05/0.01151, allocations: 197.1 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01151, allocations: 0 / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.0117, allocations: 48 kB / 383.7 MB, free: 18.88 MB / 314.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 7.351e-05/0.01177, allocations: 95.19 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.01189, allocations: 96 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01189, allocations: 256 / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.01192, allocations: 46.86 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01226, allocations: 52.23 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007871/0.01305, allocations: 0.5181 MB / 384.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.998e-05/0.01309, allocations: 104.2 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.01315, allocations: 34.27 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.14e-05/0.01323, allocations: 110.2 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01323, allocations: 0 / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of Templates: time 0.003817/0.01705, allocations: 2.265 MB / 387 MB, free: 15.56 MB / 314.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: 3.147135882638395]