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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 112.8 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1819/0.1819, allocations: 38.05 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 457.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 58.05 MB / 0.5036 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004491/0.3265, allocations: 3.45 MB / 0.507 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3283, allocations: 1.532 MB / 0.5085 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3284, allocations: 9.562 kB / 0.5085 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.3292, allocations: 257.5 kB / 0.5087 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005648/0.3298, allocations: 282.5 kB / 0.509 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.3301, allocations: 130.6 kB / 0.5091 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.3305, allocations: 347.1 kB / 0.5095 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.3308, allocations: 130.7 kB / 0.5096 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.3311, allocations: 156 kB / 0.5097 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.3313, allocations: 164.2 kB / 0.5099 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.3314, allocations: 15.16 kB / 0.5099 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005583/0.3319, allocations: 322.7 kB / 0.5102 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3321, allocations: 101.8 kB / 0.5103 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3322, allocations: 103.2 kB / 0.5104 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.3327, allocations: 367.2 kB / 0.5108 GB, free: 3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3328, allocations: 0 / 0.5108 GB, free: 3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3328, allocations: 0 / 0.5108 GB, free: 3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3328, allocations: 4 kB / 0.5108 GB, free: 2.996 MB / 382.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.0006228/0.3334, allocations: 0.5135 MB / 0.5113 GB, free: 2.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3334, allocations: 14.34 kB / 0.5113 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.3335, allocations: 57.73 kB / 0.5113 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009241/0.3344, allocations: 102.5 kB / 0.5114 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.3348, allocations: 272.9 kB / 0.5117 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3348, allocations: 23.52 kB / 0.5117 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.3348, allocations: 15.66 kB / 0.5117 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.3353, allocations: 324.2 kB / 0.512 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.3354, allocations: 2.031 kB / 0.512 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.3354, allocations: 9.875 kB / 0.512 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.3354, allocations: 24.44 kB / 0.5121 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004928/0.3359, allocations: 312.2 kB / 0.5124 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.3374, allocations: 1.25 MB / 0.5136 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.3377, allocations: 160.2 kB / 0.5137 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3378, allocations: 108 kB / 0.5138 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.3379, allocations: 11.03 kB / 0.5139 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.3379, allocations: 31.59 kB / 0.5139 GB, free: 0.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.084e-06/0.3379, allocations: 1.094 kB / 0.5139 GB, free: 0.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001463/0.3394, allocations: 0.6623 MB / 0.5145 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.3394, allocations: 91.98 kB / 0.5146 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3396, allocations: 187.2 kB / 0.5148 GB, free: 236 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.3396, allocations: 30.89 kB / 0.5148 GB, free: 200 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.3397, allocations: 164.1 kB / 0.515 GB, free: 48 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.3397, allocations: 60.67 kB / 0.515 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3398, allocations: 47.16 kB / 0.5151 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.34, allocations: 329.2 kB / 0.5154 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3401, allocations: 83.44 kB / 0.5155 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.3403, allocations: 149.5 kB / 0.5156 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.3407, allocations: 256.8 kB / 0.5159 GB, free: 15.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3408, allocations: 0 / 0.5159 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006506/0.3414, allocations: 362.8 kB / 0.5162 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3414, allocations: 7.375 kB / 0.5162 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3415, allocations: 6.562 kB / 0.5162 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/0.3418, allocations: 93.58 kB / 0.5163 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.342, allocations: 38.16 kB / 0.5164 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.345, allocations: 2.167 MB / 0.5185 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3452, allocations: 12.86 kB / 0.5185 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.3453, allocations: 12.53 kB / 0.5185 GB, free: 13.36 MB / 398.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 (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.0002245/0.3455, allocations: 158.6 kB / 0.5186 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.3456, allocations: 17.16 kB / 0.5187 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006874/0.3463, allocations: 328.6 kB / 0.519 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3463, allocations: 2.688 kB / 0.519 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3463, allocations: 1.469 kB / 0.519 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.3463, allocations: 5.359 kB / 0.519 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.3476, allocations: 0.7452 MB / 0.5197 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.3476, allocations: 2 kB / 0.5197 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3478, allocations: 33.31 kB / 0.5197 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.3481, allocations: 74.27 kB / 0.5198 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.3481, allocations: 7.156 kB / 0.5198 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.3505, allocations: 2.042 MB / 0.5218 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3505, allocations: 1.156 kB / 0.5218 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/0.3514, allocations: 413.8 kB / 0.5222 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.3515, allocations: 101.3 kB / 0.5223 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3516, allocations: 1.984 kB / 0.5223 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3517, allocations: 10.05 kB / 0.5223 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.3518, allocations: 13.08 kB / 0.5223 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.3518, allocations: 17.75 kB / 0.5224 GB, free: 10.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000253/0.3521, allocations: 144.3 kB / 0.5225 GB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3521, allocations: 0.8438 kB / 0.5225 GB, free: 10.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005927/0.3527, allocations: 67.94 kB / 0.5226 GB, free: 10.32 MB / 398.1 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.001151/0.3538, allocations: 0.9464 MB / 0.5235 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009008/0.3548, allocations: 387 kB / 0.5238 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3548, allocations: 1.531 kB / 0.5239 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.3552, allocations: 252.7 kB / 0.5241 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.3556, allocations: 39.86 kB / 0.5241 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.3598, allocations: 2.639 MB / 0.5267 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.3604, allocations: 0.7628 MB / 0.5275 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.3606, allocations: 45.02 kB / 0.5275 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3607, allocations: 59.11 kB / 0.5276 GB, free: 6.512 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3607, allocations: 0 / 0.5276 GB, free: 6.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/0.408, allocations: 5.332 MB / 0.5328 GB, free: 5.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.37, allocations: 15.78 kB / 0.5328 GB, free: 5.02 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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