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.001592/0.001592, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001639/0.001639, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.283/1.283, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1712/0.1712, allocations: 38.03 MB / 329.7 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 65.95 kB / 398.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07861/0.07994, allocations: 58.07 MB / 457 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003767/0.08373, allocations: 3.462 MB / 460.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.08541, allocations: 1.52 MB / 462 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.0855, allocations: 7.938 kB / 462 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000631/0.08614, allocations: 262.9 kB / 462.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.08656, allocations: 278.9 kB / 462.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.0868, allocations: 135.6 kB / 462.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.08709, allocations: 347 kB / 463 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.08732, allocations: 129.9 kB / 463.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.08749, allocations: 151.4 kB / 463.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.08768, allocations: 159.4 kB / 463.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.08771, allocations: 16 kB / 463.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.08811, allocations: 315.2 kB / 463.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.0882, allocations: 99.7 kB / 463.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.08831, allocations: 111.5 kB / 463.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.08866, allocations: 355 kB / 464.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.08867, allocations: 0 / 464.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08868, allocations: 0 / 464.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.08869, allocations: 3.984 kB / 464.3 MB, free: 0.6289 MB / 334.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.0005325/0.08922, allocations: 0.5142 MB / 464.8 MB, free: 68 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.08926, allocations: 8.031 kB / 464.8 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.08932, allocations: 58.72 kB / 464.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008068/0.09013, allocations: 100.6 kB / 465 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.09038, allocations: 263.7 kB / 465.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.0904, allocations: 20.33 kB / 465.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.09045, allocations: 20.36 kB / 465.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.09086, allocations: 329.8 kB / 465.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.09088, allocations: 0 / 465.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.0909, allocations: 11.98 kB / 465.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.09094, allocations: 19.98 kB / 465.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.09134, allocations: 307.7 kB / 465.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.09267, allocations: 1.264 MB / 467.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.09291, allocations: 161 kB / 467.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.09305, allocations: 105.7 kB / 467.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.09308, allocations: 8 kB / 467.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.09311, allocations: 38.55 kB / 467.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.09312, allocations: 3.938 kB / 467.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001292/0.09441, allocations: 0.666 MB / 468.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.09446, allocations: 85.05 kB / 468.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.09461, allocations: 186.5 kB / 468.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.09463, allocations: 29.69 kB / 468.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.09471, allocations: 160.1 kB / 468.6 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.09476, allocations: 63.05 kB / 468.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.09483, allocations: 45.7 kB / 468.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.09493, allocations: 326.8 kB / 469 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.09504, allocations: 83.94 kB / 469.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.09519, allocations: 153.3 kB / 469.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.09548, allocations: 259.6 kB / 469.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.09549, allocations: 4 kB / 469.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005381/0.09603, allocations: 349.9 kB / 469.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.09605, allocations: 8 kB / 469.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.09606, allocations: 0 / 469.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/0.09638, allocations: 92.78 kB / 470 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.09654, allocations: 43.91 kB / 470 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.09858, allocations: 2.172 MB / 472.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.0987, allocations: 12.05 kB / 472.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.09873, allocations: 16 kB / 472.2 MB, free: 8.172 MB / 350.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.0001144/0.09885, allocations: 157.7 kB / 472.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.0989, allocations: 15.81 kB / 472.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.09943, allocations: 316.1 kB / 472.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.09945, allocations: 4 kB / 472.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.09946, allocations: 7.984 kB / 472.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.09946, allocations: 0 / 472.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.1004, allocations: 0.7453 MB / 473.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1005, allocations: 64 / 473.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1006, allocations: 35.92 kB / 473.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/0.1008, allocations: 76.78 kB / 473.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1008, allocations: 7.938 kB / 473.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.1025, allocations: 2.042 MB / 475.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1025, allocations: 0 / 475.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.103, allocations: 414.4 kB / 476 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.103, allocations: 104.8 kB / 476.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1031, allocations: 4 kB / 476.1 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1032, allocations: 4 kB / 476.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1032, allocations: 19.97 kB / 476.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.1033, allocations: 12 kB / 476.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.183e-05/0.1034, allocations: 139.1 kB / 476.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1034, allocations: 0 / 476.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003822/0.1038, allocations: 68 kB / 476.3 MB, free: 3.762 MB / 350.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.0006796/0.1044, allocations: 0.9445 MB / 477.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.105, allocations: 398.5 kB / 477.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1051, allocations: 0 / 477.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.1054, allocations: 258.8 kB / 477.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1057, allocations: 40.03 kB / 478 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.1083, allocations: 2.618 MB / 480.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1085, allocations: 0.7714 MB / 481.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.561e-05/0.1086, allocations: 33.53 kB / 481.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.08e-05/0.1087, allocations: 59.41 kB / 481.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1087, allocations: 0 / 481.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/0.2308, allocations: 5.211 MB / 486.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.8, allocations: 9.297 kB / 486.7 MB, free: 9.309 MB / 366.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