Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.001626/0.001626, allocations: 84.7 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.001649/0.001649, allocations: 166.5 kB / 23.95 MB, free: 4.16 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.413/1.413, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.1876/0.1876, allocations: 29.44 MB / 290.1 MB, free: 3.293 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.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 430.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.154e-05, allocations: 6.219 kB / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006941/0.006963, allocations: 5.795 MB / 436.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.01011, allocations: 1.869 MB / 438.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.01032, allocations: 31.75 kB / 438.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.0121, allocations: 0.6845 MB / 439.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007219/0.01283, allocations: 397.7 kB / 439.5 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009808/0.01381, allocations: 414.7 kB / 439.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009684/0.01478, allocations: 0.9548 MB / 440.8 MB, free: 7.785 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005544/0.01533, allocations: 392.3 kB / 441.2 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/0.01606, allocations: 0.5725 MB / 441.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006876/0.01675, allocations: 0.5065 MB / 442.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.549e-05/0.01684, allocations: 56 kB / 442.3 MB, free: 6.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.01732, allocations: 243.5 kB / 442.6 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004301/0.01775, allocations: 446.9 kB / 443 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003518/0.0181, allocations: 287.4 kB / 443.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.0192, allocations: 1.051 MB / 444.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.01921, allocations: 4 kB / 444.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01921, allocations: 0 / 444.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.01922, allocations: 0 / 444.3 MB, free: 4.246 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001668/0.02089, allocations: 1.007 MB / 445.4 MB, free: 3.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.02093, allocations: 15.98 kB / 445.4 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009961/0.02192, allocations: 212.2 kB / 445.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/0.02278, allocations: 489.4 kB / 446.1 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.02283, allocations: 58.38 kB / 446.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.02295, allocations: 76.38 kB / 446.2 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.0245, allocations: 1.13 MB / 447.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.02453, allocations: 11.88 kB / 447.3 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.02461, allocations: 32 kB / 447.4 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/0.02468, allocations: 49.98 kB / 447.4 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.02601, allocations: 0.87 MB / 448.3 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1744/0.2004, allocations: 4.695 MB / 453 MB, free: 26.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.2011, allocations: 394.9 kB / 453.4 MB, free: 26.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.2014, allocations: 193.8 kB / 453.6 MB, free: 26.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.2014, allocations: 11.06 kB / 453.6 MB, free: 26.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2014, allocations: 38.59 kB / 453.6 MB, free: 26.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.856e-06/0.2014, allocations: 2.953 kB / 453.6 MB, free: 26.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001687/0.2031, allocations: 1.085 MB / 454.7 MB, free: 25.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2031, allocations: 82.7 kB / 454.8 MB, free: 25.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.2036, allocations: 497.7 kB / 455.3 MB, free: 25.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.2036, allocations: 31.89 kB / 455.3 MB, free: 25.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.2038, allocations: 472.6 kB / 455.7 MB, free: 25.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.2039, allocations: 158.8 kB / 455.9 MB, free: 25.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.2041, allocations: 154.1 kB / 456.1 MB, free: 25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.2042, allocations: 362.3 kB / 456.4 MB, free: 24.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.2045, allocations: 240.6 kB / 456.6 MB, free: 24.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.205, allocations: 0.6174 MB / 457.3 MB, free: 24.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008521/0.2058, allocations: 0.9444 MB / 458.2 MB, free: 23.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2058, allocations: 4.125 kB / 458.2 MB, free: 23.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001158/0.207, allocations: 0.8921 MB / 459.1 MB, free: 22.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.207, allocations: 15.03 kB / 459.1 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.207, allocations: 16.27 kB / 459.1 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.2071, allocations: 21.5 kB / 459.2 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/0.2077, allocations: 220.2 kB / 459.4 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/0.2078, allocations: 30.06 kB / 459.4 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.2082, allocations: 56.14 kB / 459.4 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.2083, allocations: 45.92 kB / 459.5 MB, free: 22.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.0003101/0.2086, allocations: 303.1 kB / 459.8 MB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.2086, allocations: 52.53 kB / 459.8 MB, free: 22.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/0.2095, allocations: 0.5547 MB / 460.4 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.2095, allocations: 9.938 kB / 460.4 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2096, allocations: 5.219 kB / 460.4 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.2096, allocations: 2.391 kB / 460.4 MB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.2112, allocations: 1.154 MB / 461.6 MB, free: 21.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2112, allocations: 2.438 kB / 461.6 MB, free: 21.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.2116, allocations: 114.1 kB / 461.7 MB, free: 21.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2116, allocations: 4.062 kB / 461.7 MB, free: 21.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.2117, allocations: 15.27 kB / 461.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.2117, allocations: 5.219 kB / 461.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2117, allocations: 2.531 kB / 461.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.2124, allocations: 0.6438 MB / 462.4 MB, free: 21.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.2125, allocations: 55.2 kB / 462.4 MB, free: 21.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.2126, allocations: 10.39 kB / 462.4 MB, free: 21.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.2128, allocations: 25.81 kB / 462.4 MB, free: 21.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.2129, allocations: 41.69 kB / 462.5 MB, free: 21.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.2129, allocations: 16.36 kB / 462.5 MB, free: 21.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002866/0.2132, allocations: 316.9 kB / 462.8 MB, free: 21.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2132, allocations: 0 / 462.8 MB, free: 21.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006351/0.2138, allocations: 161.3 kB / 463 MB, free: 21.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.0001058/0.2139, allocations: 110.7 kB / 463.1 MB, free: 21.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008123/0.2148, allocations: 0.5818 MB / 463.7 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2148, allocations: 0 / 463.7 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.2151, allocations: 219.3 kB / 463.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.2157, allocations: 118.8 kB / 464 MB, free: 20.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.2175, allocations: 1.35 MB / 465.3 MB, free: 20.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.2179, allocations: 411.5 kB / 465.7 MB, free: 20.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000457/0.2183, allocations: 227.8 kB / 466 MB, free: 19.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.2185, allocations: 48.8 kB / 466 MB, free: 19.98 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2185, allocations: 0 / 466 MB, free: 19.98 MB / 366.1 MB Notification: Performance of Templates: time 0.01085/0.2293, allocations: 5.392 MB / 471.4 MB, free: 18.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.650817822664976]