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.0017/0.0017, allocations: 113.8 kB / 17.06 MB, free: 6.004 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.001818/0.001818, allocations: 198.9 kB / 18 MB, free: 5.082 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.348/1.348, 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.1809/0.1809, allocations: 38.04 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 457.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3145, allocations: 58.06 MB / 0.5036 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.006148/0.3207, allocations: 3.46 MB / 0.507 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.3239, allocations: 1.531 MB / 0.5085 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.3242, allocations: 10.16 kB / 0.5085 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009797/0.3252, allocations: 256.8 kB / 0.5087 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006716/0.3258, allocations: 280.4 kB / 0.509 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.3262, allocations: 133.4 kB / 0.5091 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004459/0.3267, allocations: 346.3 kB / 0.5095 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.3269, allocations: 133.1 kB / 0.5096 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.3272, allocations: 161.2 kB / 0.5097 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.3276, allocations: 156.1 kB / 0.5099 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.3276, allocations: 14.94 kB / 0.5099 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007642/0.3284, allocations: 322.2 kB / 0.5102 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3286, allocations: 97.91 kB / 0.5103 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3288, allocations: 104.1 kB / 0.5104 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.3295, allocations: 362.4 kB / 0.5108 GB, free: 2.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3295, allocations: 1.031 kB / 0.5108 GB, free: 2.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3296, allocations: 0 / 0.5108 GB, free: 2.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.3296, allocations: 0 / 0.5108 GB, free: 2.941 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.0009114/0.3305, allocations: 0.5257 MB / 0.5113 GB, free: 2.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3306, allocations: 14.11 kB / 0.5113 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.149e-05/0.3306, allocations: 50.38 kB / 0.5113 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.3322, allocations: 109.8 kB / 0.5114 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.3327, allocations: 260.2 kB / 0.5117 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.3328, allocations: 19.05 kB / 0.5117 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/0.3328, allocations: 20.59 kB / 0.5117 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.3336, allocations: 328.3 kB / 0.512 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.3337, allocations: 1.125 kB / 0.512 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.3337, allocations: 12.69 kB / 0.512 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/0.3338, allocations: 15.5 kB / 0.5121 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007822/0.3346, allocations: 317.4 kB / 0.5124 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.3368, allocations: 1.253 MB / 0.5136 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.3372, allocations: 165.5 kB / 0.5137 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.3374, allocations: 102.5 kB / 0.5138 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.3374, allocations: 10.94 kB / 0.5139 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3375, allocations: 37.5 kB / 0.5139 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.275e-06/0.3375, allocations: 0 / 0.5139 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.002129/0.3396, allocations: 0.6673 MB / 0.5145 GB, free: 404 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3397, allocations: 83.73 kB / 0.5146 GB, free: 304 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.3399, allocations: 188.6 kB / 0.5148 GB, free: 176 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3399, allocations: 29.7 kB / 0.5148 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.34, allocations: 151.8 kB / 0.515 GB, free: 0 / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.3402, allocations: 65.47 kB / 0.515 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.3403, allocations: 47.66 kB / 0.5151 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3405, allocations: 328.2 kB / 0.5154 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.3407, allocations: 82.69 kB / 0.5155 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.341, allocations: 150.8 kB / 0.5156 GB, free: 15.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.3415, allocations: 260 kB / 0.5159 GB, free: 15.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3415, allocations: 1.406 kB / 0.5159 GB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008733/0.3424, allocations: 352.2 kB / 0.5162 GB, free: 15.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3424, allocations: 7.156 kB / 0.5162 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3425, allocations: 7.328 kB / 0.5162 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.343, allocations: 88.44 kB / 0.5163 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.3432, allocations: 39.8 kB / 0.5163 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.3471, allocations: 2.17 MB / 0.5185 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.3475, allocations: 12.62 kB / 0.5185 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.3475, allocations: 8.453 kB / 0.5185 GB, free: 13.31 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.0002722/0.3478, allocations: 156.4 kB / 0.5186 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.3479, allocations: 20.59 kB / 0.5186 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009543/0.3489, allocations: 324.6 kB / 0.519 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3489, allocations: 8.109 kB / 0.519 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3489, allocations: 1.406 kB / 0.519 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3489, allocations: 2.984 kB / 0.519 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.3507, allocations: 0.7404 MB / 0.5197 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.3508, allocations: 5.438 kB / 0.5197 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.3509, allocations: 23.78 kB / 0.5197 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004322/0.3514, allocations: 76.45 kB / 0.5198 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.3514, allocations: 10.16 kB / 0.5198 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.3544, allocations: 2.045 MB / 0.5218 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3544, allocations: 1.156 kB / 0.5218 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008278/0.3553, allocations: 414.1 kB / 0.5222 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3555, allocations: 95.94 kB / 0.5223 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.3555, allocations: 6.984 kB / 0.5223 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.3557, allocations: 5.719 kB / 0.5223 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.3558, allocations: 16.77 kB / 0.5223 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.3559, allocations: 6.516 kB / 0.5223 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.356, allocations: 144.3 kB / 0.5225 GB, free: 10.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.356, allocations: 4 kB / 0.5225 GB, free: 10.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005201/0.3565, allocations: 67.78 kB / 0.5225 GB, free: 10.29 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.000916/0.3575, allocations: 0.9397 MB / 0.5234 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007514/0.3582, allocations: 382.9 kB / 0.5238 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3583, allocations: 1.781 kB / 0.5238 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.3587, allocations: 258.8 kB / 0.5241 GB, free: 9.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.3591, allocations: 38.33 kB / 0.5241 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.3624, allocations: 2.631 MB / 0.5267 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3628, allocations: 0.7698 MB / 0.5274 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.3629, allocations: 39.61 kB / 0.5275 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.363, allocations: 68.83 kB / 0.5275 GB, free: 6.48 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3631, allocations: 0 / 0.5275 GB, free: 6.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.4003, allocations: 5.416 MB / 0.5328 GB, free: 4.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.92, allocations: 8.812 kB / 0.5328 GB, free: 4.918 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