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.001562/0.001562, allocations: 112.8 kB / 17.06 MB, free: 5.996 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.001839/0.001839, allocations: 198.9 kB / 18 MB, free: 5.078 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1713/0.1713, allocations: 38.04 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.91 kB / 457.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.309, allocations: 58.07 MB / 0.5036 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004206/0.3132, allocations: 3.461 MB / 0.507 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.3152, allocations: 1.528 MB / 0.5085 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.3154, allocations: 8.562 kB / 0.5085 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008282/0.3162, allocations: 254.1 kB / 0.5087 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005682/0.3168, allocations: 287.7 kB / 0.509 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.3171, allocations: 124.7 kB / 0.5091 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.3175, allocations: 350.6 kB / 0.5095 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.3177, allocations: 140.9 kB / 0.5096 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.318, allocations: 156.1 kB / 0.5098 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.3182, allocations: 160.3 kB / 0.5099 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.3182, allocations: 14.47 kB / 0.5099 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.3187, allocations: 318.3 kB / 0.5102 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3189, allocations: 99.06 kB / 0.5103 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.319, allocations: 107.5 kB / 0.5104 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.3195, allocations: 359.2 kB / 0.5108 GB, free: 2.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3195, allocations: 4 kB / 0.5108 GB, free: 2.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3195, allocations: 1.062 kB / 0.5108 GB, free: 2.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.3195, allocations: 0 / 0.5108 GB, free: 2.906 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.0006756/0.3202, allocations: 0.5133 MB / 0.5113 GB, free: 2.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3202, allocations: 10.22 kB / 0.5113 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.3203, allocations: 55.33 kB / 0.5113 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/0.3213, allocations: 109.6 kB / 0.5114 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.3216, allocations: 271.8 kB / 0.5117 GB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.3216, allocations: 15.45 kB / 0.5117 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.3217, allocations: 19.61 kB / 0.5117 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.3222, allocations: 328.9 kB / 0.512 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3222, allocations: 1.125 kB / 0.512 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.3223, allocations: 5.828 kB / 0.512 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.3223, allocations: 20.59 kB / 0.5121 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.3228, allocations: 312.4 kB / 0.5124 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.3244, allocations: 1.254 MB / 0.5136 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.3246, allocations: 159.7 kB / 0.5137 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3248, allocations: 115.1 kB / 0.5139 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3248, allocations: 7.922 kB / 0.5139 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3248, allocations: 35.59 kB / 0.5139 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.3248, allocations: 0 / 0.5139 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001444/0.3263, allocations: 0.6619 MB / 0.5145 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.3263, allocations: 83.53 kB / 0.5146 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.3265, allocations: 191 kB / 0.5148 GB, free: 144 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3265, allocations: 30.8 kB / 0.5148 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3266, allocations: 152.9 kB / 0.515 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.3267, allocations: 63.89 kB / 0.515 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.3268, allocations: 46.89 kB / 0.5151 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3269, allocations: 328.7 kB / 0.5154 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.3271, allocations: 82.75 kB / 0.5155 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.3273, allocations: 154.8 kB / 0.5156 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.3277, allocations: 256 kB / 0.5159 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3277, allocations: 1.5 kB / 0.5159 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007917/0.3285, allocations: 356.6 kB / 0.5162 GB, free: 15.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.3286, allocations: 6.719 kB / 0.5162 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3286, allocations: 2.781 kB / 0.5162 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004516/0.329, allocations: 89.62 kB / 0.5163 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.3292, allocations: 38.92 kB / 0.5163 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.332, allocations: 2.175 MB / 0.5185 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.3322, allocations: 8.859 kB / 0.5185 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.3323, allocations: 12.3 kB / 0.5185 GB, free: 13.28 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.0001912/0.3325, allocations: 156.5 kB / 0.5186 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.3325, allocations: 24.5 kB / 0.5187 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006452/0.3332, allocations: 321 kB / 0.519 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3332, allocations: 2.875 kB / 0.519 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3332, allocations: 2 kB / 0.519 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3332, allocations: 0.7031 kB / 0.519 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.3344, allocations: 0.7475 MB / 0.5197 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3344, allocations: 1.281 kB / 0.5197 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3345, allocations: 24.73 kB / 0.5197 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.3348, allocations: 75.28 kB / 0.5198 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3348, allocations: 7.359 kB / 0.5198 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.3369, allocations: 2.05 MB / 0.5218 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3369, allocations: 5.062 kB / 0.5218 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.3375, allocations: 411.7 kB / 0.5222 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.3376, allocations: 96.05 kB / 0.5223 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.3376, allocations: 2.844 kB / 0.5223 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3377, allocations: 10.8 kB / 0.5223 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.3378, allocations: 19.83 kB / 0.5223 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3378, allocations: 6.109 kB / 0.5223 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3379, allocations: 139.7 kB / 0.5225 GB, free: 10.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3379, allocations: 0 / 0.5225 GB, free: 10.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.3384, allocations: 68.25 kB / 0.5225 GB, free: 10.25 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.000834/0.3393, allocations: 0.9419 MB / 0.5234 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007177/0.34, allocations: 385.5 kB / 0.5238 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.34, allocations: 0 / 0.5238 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.3404, allocations: 260.4 kB / 0.5241 GB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3408, allocations: 38.48 kB / 0.5241 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.3439, allocations: 2.63 MB / 0.5267 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3443, allocations: 0.7671 MB / 0.5274 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.3444, allocations: 43.25 kB / 0.5275 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.3445, allocations: 63.11 kB / 0.5275 GB, free: 6.449 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3445, allocations: 0 / 0.5275 GB, free: 6.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.3722, allocations: 5.415 MB / 0.5328 GB, free: 4.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.33, allocations: 5.969 kB / 0.5328 GB, free: 4.957 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