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.001022/0.001022, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001127/0.001127, allocations: 167.7 kB / 24.81 MB, free: 9.27 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 1.153/1.153, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.3308/0.3308, allocations: 29.42 MB / 291.2 MB, free: 2.465 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.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|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="Time|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 2.845e-06/2.845e-06, allocations: 3.938 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.426e-05, allocations: 2.312 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004887/0.004921, allocations: 3.846 MB / 374 MB, free: 6.867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.007137, allocations: 1.414 MB / 375.4 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.007421, allocations: 15.94 kB / 375.4 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007692/0.00819, allocations: 266.8 kB / 375.6 MB, free: 5.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009594/0.00915, allocations: 402.1 kB / 376 MB, free: 4.773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.009564, allocations: 143.4 kB / 376.2 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006128/0.01018, allocations: 498.4 kB / 376.7 MB, free: 4.145 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.01052, allocations: 163.4 kB / 376.8 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005475/0.01107, allocations: 287.1 kB / 377.1 MB, free: 3.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.01144, allocations: 231.3 kB / 377.3 MB, free: 3.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.01147, allocations: 20 kB / 377.3 MB, free: 3.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.0122, allocations: 378.8 kB / 377.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.01236, allocations: 167.6 kB / 377.9 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.01246, allocations: 103.8 kB / 378 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.01311, allocations: 442.6 kB / 378.4 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.01311, allocations: 3.984 kB / 378.4 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01311, allocations: 4 kB / 378.4 MB, free: 2.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.01312, allocations: 0 / 378.4 MB, free: 2.383 MB / 346.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.0007493/0.01387, allocations: 0.636 MB / 379.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.01393, allocations: 15.98 kB / 379.1 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/0.01466, allocations: 164.5 kB / 379.2 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.01498, allocations: 233.2 kB / 379.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.01501, allocations: 29.02 kB / 379.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.01505, allocations: 24.38 kB / 379.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.01547, allocations: 277.6 kB / 379.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.01548, allocations: 4.125 kB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.01551, allocations: 8.375 kB / 379.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.01555, allocations: 28.58 kB / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.01572, allocations: 144.4 kB / 380 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.01709, allocations: 1.448 MB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.01751, allocations: 137.9 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.706e-05/0.01758, allocations: 67.39 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.01761, allocations: 4 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.01764, allocations: 37.39 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/0.01764, allocations: 4 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009006/0.01854, allocations: 407.9 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.01859, allocations: 85.05 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.01873, allocations: 250.6 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.01875, allocations: 33.7 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01886, allocations: 239.1 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.01892, allocations: 91.23 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.01899, allocations: 59.62 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.01913, allocations: 0.5001 MB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.01918, allocations: 40.66 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.0193, allocations: 172.6 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.0195, allocations: 242.6 kB / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.0195, allocations: 0 / 383.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003575/0.01986, allocations: 277 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.01988, allocations: 11.94 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.01989, allocations: 4 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.02016, allocations: 79.61 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.02028, allocations: 48.05 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.02214, allocations: 2.146 MB / 386.3 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.02225, allocations: 12.12 kB / 386.3 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.02227, allocations: 19.98 kB / 386.3 MB, free: 9.934 MB / 362.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 0.0001386/0.02241, allocations: 172.5 kB / 386.5 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.02245, allocations: 31.86 kB / 386.5 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.02282, allocations: 238.9 kB / 386.8 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.02282, allocations: 4 kB / 386.8 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.02282, allocations: 0 / 386.8 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.02283, allocations: 0 / 386.8 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.02358, allocations: 0.6089 MB / 387.4 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.02359, allocations: 4 kB / 387.4 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.02366, allocations: 35.92 kB / 387.4 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.02383, allocations: 55.69 kB / 387.5 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.02385, allocations: 8 kB / 387.5 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.02515, allocations: 2.114 MB / 389.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.02516, allocations: 3.938 kB / 389.6 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.02555, allocations: 398.9 kB / 390 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.02558, allocations: 19.86 kB / 390 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.02559, allocations: 4 kB / 390 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.02566, allocations: 4 kB / 390 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.02569, allocations: 31.92 kB / 390 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.02571, allocations: 8 kB / 390.1 MB, free: 5.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.345e-05/0.02579, allocations: 169.3 kB / 390.2 MB, free: 5.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02579, allocations: 0 / 390.2 MB, free: 5.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003696/0.02616, allocations: 88 kB / 390.3 MB, free: 5.746 MB / 362.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 0.0001364/0.0263, allocations: 99.19 kB / 390.4 MB, free: 5.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.02674, allocations: 358.9 kB / 390.8 MB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02675, allocations: 0 / 390.8 MB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.02697, allocations: 289.1 kB / 391 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.02727, allocations: 41.22 kB / 391.1 MB, free: 4.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.02843, allocations: 0.5408 MB / 391.6 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.044e-05/0.02852, allocations: 124.3 kB / 391.7 MB, free: 4.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.966e-05/0.0286, allocations: 21.94 kB / 391.8 MB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.02872, allocations: 102.2 kB / 391.9 MB, free: 4.082 MB / 362.7 MB Notification: Performance of SimCode: time 1.843e-06/0.02872, allocations: 0 / 391.9 MB, free: 4.082 MB / 362.7 MB Notification: Performance of Templates: time 0.006612/0.03533, allocations: 3.216 MB / 395.1 MB, free: 0.8906 MB / 362.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 -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: 3.4590424560010433]