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.001363/0.001363, allocations: 84.62 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.001532/0.001532, allocations: 162.4 kB / 23.95 MB, free: 4.156 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.378/1.378, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 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.1686/0.1686, allocations: 29.44 MB / 290.1 MB, free: 3.289 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.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",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.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.854e-05, allocations: 2.281 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005431/0.00546, allocations: 3.441 MB / 434.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.007884, allocations: 1.422 MB / 435.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.008048, allocations: 7.938 kB / 435.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008837/0.008931, allocations: 246.9 kB / 435.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006958/0.009627, allocations: 282.6 kB / 436.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.009993, allocations: 139.4 kB / 436.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.01049, allocations: 346.9 kB / 436.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.01078, allocations: 110.1 kB / 436.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.01118, allocations: 211.3 kB / 436.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.01148, allocations: 155.5 kB / 437 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.01152, allocations: 12 kB / 437.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.01204, allocations: 275.2 kB / 437.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.01219, allocations: 111.7 kB / 437.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.01234, allocations: 79.77 kB / 437.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.01299, allocations: 374.9 kB / 437.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01299, allocations: 0 / 437.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.013, allocations: 0 / 437.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.013, allocations: 4 kB / 437.9 MB, free: 10.75 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007627/0.01377, allocations: 445 kB / 438.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.0138, allocations: 8.031 kB / 438.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009042/0.01471, allocations: 104.5 kB / 438.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.0151, allocations: 213.2 kB / 438.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.01512, allocations: 12.38 kB / 438.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.01517, allocations: 24.36 kB / 438.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.01572, allocations: 318.6 kB / 439 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01574, allocations: 4.188 kB / 439 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.01577, allocations: 8.375 kB / 439 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/0.01583, allocations: 23.92 kB / 439 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.01631, allocations: 283.8 kB / 439.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.01813, allocations: 1.143 MB / 440.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.01862, allocations: 225 kB / 440.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.01878, allocations: 93.72 kB / 440.7 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.0188, allocations: 0 / 440.7 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.01883, allocations: 38.56 kB / 440.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.01883, allocations: 0 / 440.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009704/0.0198, allocations: 452.9 kB / 441.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.01987, allocations: 81.11 kB / 441.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.02008, allocations: 191.2 kB / 441.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.02011, allocations: 33.7 kB / 441.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.02023, allocations: 164.2 kB / 441.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.0203, allocations: 51.53 kB / 441.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-05/0.02039, allocations: 53.66 kB / 441.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.02056, allocations: 334.8 kB / 442.1 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.0207, allocations: 83.95 kB / 442.2 MB, free: 6.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.0209, allocations: 161.9 kB / 442.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.02129, allocations: 267 kB / 442.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.02129, allocations: 0 / 442.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004821/0.02177, allocations: 297.2 kB / 442.9 MB, free: 5.406 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.02178, allocations: 7.125 kB / 442.9 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.0218, allocations: 4 kB / 442.9 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.02182, allocations: 7.984 kB / 442.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.02208, allocations: 51.91 kB / 443 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.02209, allocations: 3.984 kB / 443 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.02224, allocations: 19.92 kB / 443 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.02226, allocations: 8.281 kB / 443 MB, free: 5.309 MB / 366.1 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 0.0001807/0.02244, allocations: 165.7 kB / 443.2 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.02249, allocations: 15.91 kB / 443.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.02292, allocations: 231.3 kB / 443.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.02292, allocations: 0 / 443.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.02293, allocations: 4 kB / 443.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.02294, allocations: 7.922 kB / 443.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.02439, allocations: 0.8537 MB / 444.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.0244, allocations: 4 kB / 444.3 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.02455, allocations: 39.91 kB / 444.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.02456, allocations: 8 kB / 444.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.02458, allocations: 4.5 kB / 444.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.904e-06/0.02459, allocations: 8 kB / 444.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.02459, allocations: 8 kB / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.02511, allocations: 416.8 kB / 444.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.02515, allocations: 19.91 kB / 444.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.02519, allocations: 11.98 kB / 444.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.02535, allocations: 8 kB / 444.8 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.02541, allocations: 31.84 kB / 444.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.02543, allocations: 8 kB / 444.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.02558, allocations: 147.1 kB / 445 MB, free: 3.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02558, allocations: 4 kB / 445 MB, free: 3.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004195/0.026, allocations: 48 kB / 445 MB, free: 3.125 MB / 366.1 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 0.0001617/0.02616, allocations: 107.1 kB / 445.1 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004161/0.02657, allocations: 215.5 kB / 445.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.02658, allocations: 4.562 kB / 445.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.02674, allocations: 95.77 kB / 445.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.02721, allocations: 55.08 kB / 445.5 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.02822, allocations: 0.5369 MB / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.02843, allocations: 160.1 kB / 446.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.02857, allocations: 57.58 kB / 446.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.02864, allocations: 24.5 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of SimCode: time 5.82e-07/0.02864, allocations: 0 / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of Templates: time 0.1628/0.1914, allocations: 1.81 MB / 448.1 MB, free: 29.95 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.438464857637882]