Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.001116/0.001116, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001698/0.002814, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001127/0.001127, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002582, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.057/1.057, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09093/1.148, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1422/0.1422, allocations: 29.45 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1479/0.29, allocations: 9.548 MB / 283.2 MB, free: 12.8 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.202e-05, allocations: 4.172 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004478/0.0045, allocations: 3.972 MB / 288.4 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.006297, allocations: 1.451 MB / 289.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.006457, allocations: 13.38 kB / 289.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.007041, allocations: 342.4 kB / 290.2 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006434/0.007684, allocations: 425 kB / 290.6 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.007987, allocations: 135.5 kB / 290.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.008531, allocations: 0.5073 MB / 291.3 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.008818, allocations: 191.1 kB / 291.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.009265, allocations: 313.3 kB / 291.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.009609, allocations: 226.5 kB / 292 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.009644, allocations: 20.62 kB / 292 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.01023, allocations: 379.3 kB / 292.4 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.01037, allocations: 166.9 kB / 292.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.0105, allocations: 88.97 kB / 292.6 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.01103, allocations: 407.1 kB / 293 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.01104, allocations: 1.625 kB / 293 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01104, allocations: 4 kB / 293 MB, free: 5.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.01105, allocations: 0 / 293 MB, free: 5.738 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007186/0.01177, allocations: 0.5958 MB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.0118, allocations: 10 kB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007217/0.01253, allocations: 255.4 kB / 293.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.01281, allocations: 226.2 kB / 294.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.01283, allocations: 23.09 kB / 294.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.01287, allocations: 29.58 kB / 294.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.01315, allocations: 260.3 kB / 294.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.01317, allocations: 4.172 kB / 294.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.01319, allocations: 12.36 kB / 294.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.01322, allocations: 32.53 kB / 294.4 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.01337, allocations: 127.2 kB / 294.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009874/0.01436, allocations: 1.14 MB / 295.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.01453, allocations: 160.9 kB / 295.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.01458, allocations: 49.77 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.0146, allocations: 4 kB / 295.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.01463, allocations: 42.55 kB / 296 MB, free: 2.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.01463, allocations: 4 kB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007325/0.01536, allocations: 360.1 kB / 296.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.0154, allocations: 81.11 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.01551, allocations: 188 kB / 296.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.01552, allocations: 29.7 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.0156, allocations: 184.3 kB / 296.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.01565, allocations: 91.23 kB / 296.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.01571, allocations: 45.97 kB / 296.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.0158, allocations: 342.7 kB / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.01586, allocations: 39.5 kB / 297.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.801e-05/0.01594, allocations: 121 kB / 297.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.01609, allocations: 204.6 kB / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01609, allocations: 3.938 kB / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003322/0.01642, allocations: 241 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01644, allocations: 5.562 kB / 297.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01645, allocations: 4 kB / 297.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/0.01668, allocations: 72.78 kB / 297.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.01681, allocations: 64.03 kB / 298 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.01793, allocations: 1.604 MB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.01802, allocations: 11.98 kB / 299.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.01803, allocations: 12.02 kB / 299.6 MB, free: 15.06 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 (29): * Single equations (assignments): 28 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/0.01812, allocations: 128.6 kB / 299.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.01816, allocations: 23.98 kB / 299.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.01844, allocations: 200.2 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01844, allocations: 4 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01845, allocations: 3.938 kB / 300 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01845, allocations: 4 kB / 300 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.01918, allocations: 0.5681 MB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01918, allocations: 0 / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.01927, allocations: 43.92 kB / 300.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.01929, allocations: 16.05 kB / 300.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.01943, allocations: 60.86 kB / 300.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01944, allocations: 4 kB / 300.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009081/0.02035, allocations: 1.576 MB / 302.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.02035, allocations: 0 / 302.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.02061, allocations: 351.8 kB / 302.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.02063, allocations: 7.938 kB / 302.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.0207, allocations: 12.03 kB / 302.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.02073, allocations: 23.95 kB / 302.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.02074, allocations: 4 kB / 302.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.044e-05/0.02078, allocations: 51.09 kB / 302.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02078, allocations: 4 kB / 302.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.02108, allocations: 84 kB / 302.8 MB, free: 11.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.284e-05/0.02117, allocations: 84.34 kB / 302.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003431/0.02152, allocations: 292.4 kB / 303.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.02153, allocations: 4 kB / 303.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.02173, allocations: 244.5 kB / 303.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.02202, allocations: 172.4 kB / 303.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.02803, allocations: 0.5586 MB / 304.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.783e-05/0.02812, allocations: 112.3 kB / 304.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.177e-05/0.0282, allocations: 25.94 kB / 304.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/0.02829, allocations: 79.36 kB / 304.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of SimCode: time 1.312e-06/0.02829, allocations: 0 / 304.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of Templates: time 0.005158/0.03345, allocations: 3.195 MB / 307.5 MB, free: 6.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8706339290365577]