Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.0008968/0.0008968, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.001029/0.001029, allocations: 170 kB / 23.95 MB, free: 0.6172 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 0.9165/0.9165, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2445/0.2445, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 430.2 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.901e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003601/0.00362, allocations: 3.438 MB / 433.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.005066, allocations: 1.449 MB / 435.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.005192, allocations: 7.938 kB / 435.1 MB, free: 8.699 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.005772, allocations: 254.8 kB / 435.3 MB, free: 8.449 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005316/0.006303, allocations: 282.7 kB / 435.6 MB, free: 8.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.006775, allocations: 131.4 kB / 435.8 MB, free: 8.043 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.007185, allocations: 354.9 kB / 436.1 MB, free: 7.695 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.00745, allocations: 118 kB / 436.2 MB, free: 7.582 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003327/0.007783, allocations: 215.3 kB / 436.4 MB, free: 7.371 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.007994, allocations: 143.6 kB / 436.6 MB, free: 7.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.008015, allocations: 19.94 kB / 436.6 MB, free: 7.211 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.008472, allocations: 287 kB / 436.9 MB, free: 6.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/0.008563, allocations: 111.7 kB / 437 MB, free: 6.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.009e-05/0.008633, allocations: 75.84 kB / 437 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.008968, allocations: 371 kB / 437.4 MB, free: 6.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.008972, allocations: 0 / 437.4 MB, free: 6.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.008974, allocations: 3.938 kB / 437.4 MB, free: 6.379 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.008978, allocations: 0 / 437.4 MB, free: 6.379 MB / 410.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.0004876/0.009466, allocations: 460.9 kB / 437.9 MB, free: 5.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.009502, allocations: 11.98 kB / 437.9 MB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.009543, allocations: 58.72 kB / 437.9 MB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/0.01009, allocations: 104.7 kB / 438 MB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.01034, allocations: 208.4 kB / 438.2 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.01035, allocations: 16.36 kB / 438.3 MB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.01039, allocations: 20.38 kB / 438.3 MB, free: 5.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.01073, allocations: 326.6 kB / 438.6 MB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.01074, allocations: 4.188 kB / 438.6 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.01076, allocations: 8.125 kB / 438.6 MB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.01078, allocations: 15.98 kB / 438.6 MB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.01109, allocations: 315.7 kB / 438.9 MB, free: 4.777 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.01246, allocations: 1.174 MB / 440.1 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.01269, allocations: 145.1 kB / 440.2 MB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.542e-05/0.01278, allocations: 97.67 kB / 440.3 MB, free: 3.262 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.01281, allocations: 7.984 kB / 440.3 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.01283, allocations: 30.56 kB / 440.4 MB, free: 3.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.924e-06/0.01283, allocations: 0 / 440.4 MB, free: 3.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.001028/0.01386, allocations: 0.5908 MB / 441 MB, free: 2.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.0139, allocations: 81.14 kB / 441 MB, free: 2.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.01409, allocations: 194.3 kB / 441.2 MB, free: 2.316 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.01411, allocations: 25.7 kB / 441.3 MB, free: 2.285 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.01419, allocations: 168.2 kB / 441.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.01422, allocations: 59.48 kB / 441.5 MB, free: 2.059 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.01428, allocations: 49.7 kB / 441.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.01436, allocations: 330.8 kB / 441.9 MB, free: 1.672 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.01445, allocations: 75.95 kB / 441.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.01462, allocations: 152.5 kB / 442.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.01484, allocations: 263.2 kB / 442.3 MB, free: 1.133 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01484, allocations: 0 / 442.3 MB, free: 1.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003959/0.01524, allocations: 357.9 kB / 442.7 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01525, allocations: 7.938 kB / 442.7 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01526, allocations: 4 kB / 442.7 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.01551, allocations: 88.78 kB / 442.8 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.752e-05/0.0156, allocations: 43.91 kB / 442.8 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1497/0.1653, allocations: 2.035 MB / 444.9 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1654, allocations: 13.34 kB / 444.9 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1654, allocations: 13.38 kB / 444.9 MB, free: 52.96 MB / 410.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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.1655, allocations: 158.8 kB / 445 MB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1656, allocations: 20.27 kB / 445.1 MB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.166, allocations: 323.5 kB / 445.4 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.166, allocations: 0 / 445.4 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.166, allocations: 3.219 kB / 445.4 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.166, allocations: 0 / 445.4 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.1666, allocations: 0.6961 MB / 446.1 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1667, allocations: 0 / 446.1 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.1667, allocations: 30.75 kB / 446.1 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.1669, allocations: 77.17 kB / 446.2 MB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1669, allocations: 7.25 kB / 446.2 MB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000935/0.1678, allocations: 1.918 MB / 448.1 MB, free: 50.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1678, allocations: 0 / 448.1 MB, free: 50.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.1681, allocations: 417.6 kB / 448.5 MB, free: 50.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.1682, allocations: 26.23 kB / 448.5 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1682, allocations: 3.219 kB / 448.5 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.1682, allocations: 10.83 kB / 448.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1683, allocations: 17.28 kB / 448.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1683, allocations: 3.438 kB / 448.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.769e-05/0.1683, allocations: 141.8 kB / 448.7 MB, free: 50.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1683, allocations: 0 / 448.7 MB, free: 50.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.1686, allocations: 65.75 kB / 448.8 MB, free: 50.43 MB / 410.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 (16): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000409/0.169, allocations: 0.9377 MB / 449.7 MB, free: 49.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.1694, allocations: 367.7 kB / 450.1 MB, free: 49.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1694, allocations: 3.094 kB / 450.1 MB, free: 49.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.1696, allocations: 251.2 kB / 450.3 MB, free: 49.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.1699, allocations: 31.62 kB / 450.4 MB, free: 49.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1715, allocations: 2.623 MB / 453 MB, free: 47.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.009e-05/0.1716, allocations: 159.8 kB / 453.1 MB, free: 47.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.972e-05/0.1717, allocations: 40.7 kB / 453.2 MB, free: 47.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.1718, allocations: 60.59 kB / 453.2 MB, free: 47.35 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1718, allocations: 0 / 453.2 MB, free: 47.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.1908, allocations: 5.935 MB / 459.2 MB, free: 46.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.738, allocations: 9.875 kB / 459.2 MB, free: 46.15 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:der(line.terminal_p.theta[2]),line.I,line.L,line.R,line.V,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.omegaRef,line.p[1],line.p[2],line.phi,line.terminal_n.i[1],line.terminal_n.i[2],line.terminal_n.theta[1],line.terminal_n.theta[2],line.terminal_n.v[1],line.terminal_n.v[2],line.terminal_p.i[1],line.terminal_p.i[2],line.terminal_p.theta[1],line.terminal_p.theta[2],line.terminal_p.v[1],line.terminal_p.v[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.p[1],load.p[2],load.phi,load.terminal.i[1],load.terminal.i[2],load.terminal.theta[1],load.terminal.theta[2],load.terminal.v[1],load.terminal.v[2],load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.p[1],source.p[2],source.phi,source.potentialReference,source.terminal.i[1],source.terminal.i[2],source.terminal.theta[1],source.terminal.theta[2],source.terminal.v[1],source.terminal.v[2],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.initime,system.omega,system.omega_nom,system.receiveFreq.H,system.receiveFreq.h,system.receiveFreq.w_H,system.receiveFreq.w_h,system.refType,system.synRef,system.theta,system.thetaRef,system.thetaRel,system.w_nom,time [Calling sys.exit(0), Time elapsed: 9.73462547454983]