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.001986/0.001986, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002326/0.002326, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.498/1.498, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.2991/0.2991, allocations: 29.41 MB / 290.5 MB, free: 2.438 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: translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,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.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,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.FixedLoadTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.05e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.00549/0.00552, allocations: 3.445 MB / 372.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.008201, allocations: 1.442 MB / 373.8 MB, free: 6.414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.008334, allocations: 11.94 kB / 373.8 MB, free: 6.402 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008586/0.009192, allocations: 258.9 kB / 374 MB, free: 6.148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007767/0.009969, allocations: 286.5 kB / 374.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.01031, allocations: 127.5 kB / 374.4 MB, free: 5.742 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004531/0.01076, allocations: 354.9 kB / 374.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.01106, allocations: 110.1 kB / 374.9 MB, free: 5.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.01148, allocations: 215.3 kB / 375.1 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.01176, allocations: 151.5 kB / 375.2 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.01179, allocations: 12 kB / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004804/0.01227, allocations: 279.1 kB / 375.5 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.01241, allocations: 115.6 kB / 375.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.01253, allocations: 71.83 kB / 375.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.01307, allocations: 370.8 kB / 376.1 MB, free: 4.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01308, allocations: 0 / 376.1 MB, free: 4.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01308, allocations: 0 / 376.1 MB, free: 4.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.01308, allocations: 4 kB / 376.1 MB, free: 4.094 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.0007339/0.01382, allocations: 457 kB / 376.5 MB, free: 3.617 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.01385, allocations: 11.98 kB / 376.5 MB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.01488, allocations: 152.6 kB / 376.7 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.01526, allocations: 217.3 kB / 376.9 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.01528, allocations: 12.38 kB / 376.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.01533, allocations: 24.36 kB / 376.9 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.01588, allocations: 330.6 kB / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.01589, allocations: 192 / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.01592, allocations: 12.36 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/0.01596, allocations: 19.92 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.01649, allocations: 307.7 kB / 377.6 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.01826, allocations: 1.135 MB / 378.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.01856, allocations: 157 kB / 378.9 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.01872, allocations: 97.66 kB / 379 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.01874, allocations: 4 kB / 379 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.01878, allocations: 38.5 kB / 379 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.01878, allocations: 0 / 379 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001647/0.02043, allocations: 0.5874 MB / 379.6 MB, free: 392 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.0205, allocations: 85.11 kB / 379.7 MB, free: 288 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.0207, allocations: 178.7 kB / 379.9 MB, free: 100 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.02072, allocations: 29.7 kB / 379.9 MB, free: 64 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.02086, allocations: 156.3 kB / 380 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.02094, allocations: 71.53 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.02103, allocations: 53.66 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.02121, allocations: 326.8 kB / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.02136, allocations: 79.95 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.02157, allocations: 160.3 kB / 380.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.02197, allocations: 263 kB / 381 MB, free: 14.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.02197, allocations: 0 / 381 MB, free: 14.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008121/0.02278, allocations: 357.9 kB / 381.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.02279, allocations: 4 kB / 381.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.0228, allocations: 12.22 kB / 381.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004888/0.02329, allocations: 108.8 kB / 381.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.02346, allocations: 43.91 kB / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.02625, allocations: 2.034 MB / 383.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.02639, allocations: 11.98 kB / 383.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.02642, allocations: 12 kB / 383.5 MB, free: 12.21 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 (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.0001684/0.02658, allocations: 149.8 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.02665, allocations: 27.84 kB / 383.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006849/0.02733, allocations: 319.1 kB / 384 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.02734, allocations: 3.938 kB / 384 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.02734, allocations: 0 / 384 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.02734, allocations: 7.984 kB / 384 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.02866, allocations: 0.6468 MB / 384.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02866, allocations: 4.062 kB / 384.7 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.02879, allocations: 23.98 kB / 384.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00035/0.02914, allocations: 104.8 kB / 384.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.02916, allocations: 7.938 kB / 384.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.03148, allocations: 1.899 MB / 386.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03148, allocations: 0 / 386.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.03217, allocations: 410.6 kB / 387.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.03221, allocations: 23.83 kB / 387.2 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.03224, allocations: 8 kB / 387.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.03237, allocations: 4 kB / 387.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.03241, allocations: 19.91 kB / 387.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.03243, allocations: 8 kB / 387.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.03257, allocations: 140.2 kB / 387.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03257, allocations: 0 / 387.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004596/0.03303, allocations: 68 kB / 387.4 MB, free: 8.172 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 (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.0001213/0.03315, allocations: 95.25 kB / 387.5 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007532/0.0339, allocations: 386 kB / 387.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.0339, allocations: 0 / 387.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.03434, allocations: 257.7 kB / 388.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.03473, allocations: 31.98 kB / 388.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009896/0.03572, allocations: 487.8 kB / 388.6 MB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.03591, allocations: 156.6 kB / 388.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.03602, allocations: 37.73 kB / 388.8 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.03608, allocations: 24.5 kB / 388.8 MB, free: 6.641 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.03608, allocations: 0 / 388.8 MB, free: 6.641 MB / 362.7 MB Notification: Performance of Templates: time 0.00705/0.04313, allocations: 2.854 MB / 391.7 MB, free: 3.812 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 480] 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:line.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time [Calling sys.exit(0), Time elapsed: 4.857202859013341]