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.001066/0.001066, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002596, allocations: 449.7 kB / 10.37 MB, free: 328 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.001091/0.001091, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002495, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.92/0.92, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1251/1.045, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.115/0.115, allocations: 29.44 MB / 273.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1341/0.2491, allocations: 9.528 MB / 283 MB, free: 12.83 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.182e-06/1.182e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.09e-05, allocations: 4.578 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.007266/0.007277, allocations: 3.945 MB / 288.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.00922, allocations: 1.463 MB / 289.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.009349, allocations: 11.22 kB / 289.7 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003622/0.01297, allocations: 338.4 kB / 290 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007293/0.0137, allocations: 420.1 kB / 290.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.01401, allocations: 135.1 kB / 290.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006604/0.01467, allocations: 0.5193 MB / 291 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.01496, allocations: 179.4 kB / 291.2 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004345/0.01539, allocations: 312.8 kB / 291.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.01572, allocations: 233.8 kB / 291.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.01575, allocations: 21.28 kB / 291.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005076/0.01626, allocations: 380.1 kB / 292.1 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.0164, allocations: 157.3 kB / 292.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.01651, allocations: 92.72 kB / 292.4 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.01698, allocations: 412.1 kB / 292.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.635e-05/0.017, allocations: 0 / 292.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.017, allocations: 0 / 292.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.01702, allocations: 1.312 kB / 292.8 MB, free: 5.812 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.0006848/0.0177, allocations: 0.5882 MB / 293.4 MB, free: 5.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.01773, allocations: 17.59 kB / 293.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006609/0.01839, allocations: 259.9 kB / 293.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.01862, allocations: 226.9 kB / 293.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.01864, allocations: 18.34 kB / 293.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.01867, allocations: 24.94 kB / 293.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.01894, allocations: 271.6 kB / 294.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.01896, allocations: 4.188 kB / 294.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.01897, allocations: 8.375 kB / 294.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.019, allocations: 28.58 kB / 294.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.01916, allocations: 131.2 kB / 294.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.02012, allocations: 1.136 MB / 295.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.02029, allocations: 160.9 kB / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.02034, allocations: 49.77 kB / 295.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.02036, allocations: 4 kB / 295.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.02038, allocations: 38.56 kB / 295.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.462e-06/0.02039, allocations: 0 / 295.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009706/0.02136, allocations: 355.6 kB / 296.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.02139, allocations: 85.17 kB / 296.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.02149, allocations: 196 kB / 296.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.02151, allocations: 33.7 kB / 296.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.02157, allocations: 180.3 kB / 296.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.02161, allocations: 79.27 kB / 296.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.02167, allocations: 57.95 kB / 296.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.02175, allocations: 334.7 kB / 297 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.02179, allocations: 31.38 kB / 297.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.02186, allocations: 133 kB / 297.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.022, allocations: 196.6 kB / 297.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.02201, allocations: 0 / 297.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002555/0.02226, allocations: 232.7 kB / 297.6 MB, free: 1.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.02227, allocations: 8 kB / 297.6 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.02228, allocations: 4 kB / 297.6 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.02249, allocations: 77.2 kB / 297.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.02261, allocations: 59.91 kB / 297.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009906/0.0236, allocations: 1.6 MB / 299.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.02368, allocations: 11.94 kB / 299.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.0237, allocations: 12 kB / 299.4 MB, free: 15.2 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 8.509e-05/0.02378, allocations: 132.6 kB / 299.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.02381, allocations: 19.98 kB / 299.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.02406, allocations: 204.2 kB / 299.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.02406, allocations: 4 kB / 299.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.02406, allocations: 3.938 kB / 299.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.02407, allocations: 3.984 kB / 299.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.02462, allocations: 0.5646 MB / 300.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.02462, allocations: 8.109 kB / 300.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.809e-05/0.0247, allocations: 39.98 kB / 300.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.02472, allocations: 23.84 kB / 300.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.02484, allocations: 52.8 kB / 300.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.02486, allocations: 12.06 kB / 300.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008145/0.02567, allocations: 1.564 MB / 302 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.02568, allocations: 11.97 kB / 302 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.02594, allocations: 352.6 kB / 302.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.02595, allocations: 15.92 kB / 302.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.02602, allocations: 4.125 kB / 302.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.02605, allocations: 19.97 kB / 302.4 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.02606, allocations: 8 kB / 302.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.489e-05/0.02609, allocations: 47.09 kB / 302.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02609, allocations: 4 kB / 302.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000273/0.02636, allocations: 91.98 kB / 302.5 MB, free: 11.85 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 7.291e-05/0.02644, allocations: 80.36 kB / 302.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005631/0.027, allocations: 285.8 kB / 302.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.02701, allocations: 8.062 kB / 302.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.02718, allocations: 215.2 kB / 303.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.02738, allocations: 65.92 kB / 303.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/0.03283, allocations: 0.5508 MB / 303.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.167e-05/0.0329, allocations: 116.3 kB / 303.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.03296, allocations: 29.97 kB / 303.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-05/0.03304, allocations: 79.38 kB / 303.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03304, allocations: 0 / 303.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of Templates: time 0.004457/0.0375, allocations: 3.237 MB / 307.2 MB, free: 7.148 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7514014588668942]