Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001572/0.001572, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001223/0.001223, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.209/1.209, allocations: 177.1 MB / 205.3 MB, free: 5.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.3133/0.3133, allocations: 29.42 MB / 291.2 MB, free: 2.395 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.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.[0-9,]+.|line.p.[0-9,]+.|line.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.[0-9,]+.|line.p.[0-9,]+.|line.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.96e-05, allocations: 2.312 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004179/0.004199, allocations: 3.472 MB / 373.6 MB, free: 7.199 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.005659, allocations: 1.192 MB / 374.8 MB, free: 6 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.005784, allocations: 11.88 kB / 374.8 MB, free: 5.988 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.006263, allocations: 207.1 kB / 375 MB, free: 5.785 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.006613, allocations: 278.6 kB / 375.3 MB, free: 5.512 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.006867, allocations: 131.5 kB / 375.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.007183, allocations: 342.9 kB / 375.7 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.007397, allocations: 114.1 kB / 375.8 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.007651, allocations: 211.3 kB / 376 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.007843, allocations: 139.6 kB / 376.2 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.007868, allocations: 16 kB / 376.2 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.008143, allocations: 279.1 kB / 376.5 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.67e-05/0.00824, allocations: 111.7 kB / 376.6 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.008307, allocations: 75.84 kB / 376.7 MB, free: 4.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.008639, allocations: 318.9 kB / 377 MB, free: 3.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.008641, allocations: 0 / 377 MB, free: 3.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.008642, allocations: 0 / 377 MB, free: 3.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.008647, allocations: 0 / 377 MB, free: 3.809 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005027/0.009149, allocations: 0.5461 MB / 377.5 MB, free: 3.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.009187, allocations: 11.98 kB / 377.5 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/0.009639, allocations: 128.6 kB / 377.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.009854, allocations: 208.2 kB / 377.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.009871, allocations: 16.36 kB / 377.9 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.009903, allocations: 16.38 kB / 377.9 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.01013, allocations: 215.6 kB / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01015, allocations: 192 / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.01016, allocations: 8.375 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.01019, allocations: 27.92 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.01031, allocations: 99.83 kB / 378.2 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.0116, allocations: 1.196 MB / 379.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.01178, allocations: 134.1 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.01183, allocations: 43.42 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.01184, allocations: 0 / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.01186, allocations: 45.33 kB / 379.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 9.32e-07/0.01187, allocations: 0 / 379.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003854/0.01225, allocations: 189.1 kB / 379.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.01229, allocations: 81.11 kB / 379.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.01242, allocations: 246.5 kB / 380.1 MB, free: 392 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.01243, allocations: 25.7 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.01252, allocations: 207 kB / 380.4 MB, free: 148 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.01255, allocations: 63.47 kB / 380.4 MB, free: 84 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.01261, allocations: 51.58 kB / 380.5 MB, free: 24 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.01277, allocations: 0.5117 MB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.0128, allocations: 28.58 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.01289, allocations: 126.2 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.01302, allocations: 176.6 kB / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01303, allocations: 0 / 381.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001661/0.01319, allocations: 184.3 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.0132, allocations: 8 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01321, allocations: 0 / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.01322, allocations: 4 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01333, allocations: 51.91 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01334, allocations: 4.281 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.556e-05/0.01339, allocations: 8 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.01341, allocations: 12 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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 9.588e-05/0.0135, allocations: 180.4 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.01353, allocations: 23.86 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.01368, allocations: 119.4 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.01369, allocations: 4 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01369, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01369, allocations: 3.984 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.01429, allocations: 0.6177 MB / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.0143, allocations: 4 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.104e-05/0.01439, allocations: 31.92 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.0144, allocations: 4.5 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.01441, allocations: 19.98 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.01442, allocations: 7.938 kB / 382.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.01442, allocations: 4 kB / 382.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.01466, allocations: 414.6 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.01469, allocations: 23.84 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.01471, allocations: 15.98 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.01478, allocations: 4 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.0148, allocations: 27.86 kB / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.01482, allocations: 12 kB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.731e-05/0.01488, allocations: 170.8 kB / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01488, allocations: 0 / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.01509, allocations: 52 kB / 383.3 MB, free: 12.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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 8.666e-05/0.01518, allocations: 107.1 kB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.01533, allocations: 122.6 kB / 383.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01533, allocations: 8.125 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.01539, allocations: 55.47 kB / 383.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.01564, allocations: 35.86 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.01649, allocations: 0.5454 MB / 384.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.343e-05/0.01658, allocations: 103.9 kB / 384.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.685e-05/0.01666, allocations: 25.62 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.156e-05/0.01675, allocations: 90.2 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01675, allocations: 0 / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of Templates: time 0.003852/0.0206, allocations: 1.969 MB / 386.4 MB, free: 9.754 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.407144406810403]