Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001326/0.001326, allocations: 108.5 kB / 17.05 MB, free: 6.09 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.001351/0.001351, allocations: 192 kB / 17.99 MB, free: 5.184 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.5/1.5, 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.1897/0.1897, allocations: 38.05 MB / 329.9 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.00191, allocations: 67.89 kB / 457.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3361, allocations: 58.06 MB / 0.5036 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004753/0.3409, allocations: 3.945 MB / 0.5075 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.3434, allocations: 1.819 MB / 0.5092 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.3436, allocations: 9.906 kB / 0.5092 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.3447, allocations: 361.5 kB / 0.5096 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.3458, allocations: 400.5 kB / 0.51 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.3463, allocations: 151.9 kB / 0.5101 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006524/0.3469, allocations: 492.3 kB / 0.5106 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/0.3473, allocations: 207.4 kB / 0.5108 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.3477, allocations: 220.1 kB / 0.511 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.348, allocations: 221.8 kB / 0.5112 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.3481, allocations: 24.5 kB / 0.5112 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008458/0.3489, allocations: 446.5 kB / 0.5117 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.3492, allocations: 157.6 kB / 0.5118 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.3494, allocations: 147.7 kB / 0.5119 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008812/0.3503, allocations: 0.5006 MB / 0.5124 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3503, allocations: 3.938 kB / 0.5124 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3503, allocations: 3.938 kB / 0.5124 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3503, allocations: 1.062 kB / 0.5124 GB, free: 1.926 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008313/0.3511, allocations: 0.6086 MB / 0.513 GB, free: 1.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3512, allocations: 13.3 kB / 0.5131 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.3513, allocations: 63.73 kB / 0.5131 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.3525, allocations: 132.5 kB / 0.5132 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.3529, allocations: 299.1 kB / 0.5135 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3529, allocations: 23.28 kB / 0.5135 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.353, allocations: 30.55 kB / 0.5136 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.3537, allocations: 439.8 kB / 0.514 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3538, allocations: 1.062 kB / 0.514 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.3538, allocations: 15.92 kB / 0.514 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.586e-05/0.3539, allocations: 25.97 kB / 0.514 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.3545, allocations: 429.7 kB / 0.5144 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.3568, allocations: 1.711 MB / 0.5161 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.3574, allocations: 290.4 kB / 0.5164 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.3577, allocations: 133.4 kB / 0.5165 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.3577, allocations: 7.672 kB / 0.5165 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.3578, allocations: 37.16 kB / 0.5166 GB, free: 15.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.314e-06/0.3578, allocations: 0 / 0.5166 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.002301/0.3601, allocations: 0.7967 MB / 0.5173 GB, free: 14.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.3602, allocations: 80.16 kB / 0.5174 GB, free: 14.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.3605, allocations: 213.4 kB / 0.5176 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.3605, allocations: 30.67 kB / 0.5177 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.3607, allocations: 188.3 kB / 0.5178 GB, free: 14.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.072e-05/0.3608, allocations: 84.31 kB / 0.5179 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3609, allocations: 62.05 kB / 0.518 GB, free: 14.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3611, allocations: 330.4 kB / 0.5183 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.3613, allocations: 107.4 kB / 0.5184 GB, free: 13.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.3616, allocations: 207.8 kB / 0.5186 GB, free: 13.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.3621, allocations: 338 kB / 0.5189 GB, free: 13.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3621, allocations: 4.875 kB / 0.5189 GB, free: 13.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008751/0.363, allocations: 435.9 kB / 0.5193 GB, free: 13.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.363, allocations: 5.844 kB / 0.5193 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3631, allocations: 4.109 kB / 0.5193 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004502/0.3635, allocations: 82.58 kB / 0.5194 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.3638, allocations: 58.09 kB / 0.5195 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.3663, allocations: 2.004 MB / 0.5214 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.3666, allocations: 15.66 kB / 0.5214 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.3666, allocations: 23.78 kB / 0.5215 GB, free: 11.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002949/0.3669, allocations: 174.6 kB / 0.5216 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.367, allocations: 22.64 kB / 0.5217 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008941/0.3679, allocations: 387.2 kB / 0.522 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3679, allocations: 3.406 kB / 0.522 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.368, allocations: 1.094 kB / 0.522 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.368, allocations: 1.781 kB / 0.522 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.3698, allocations: 0.9131 MB / 0.5229 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.3698, allocations: 5.312 kB / 0.5229 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.37, allocations: 37.67 kB / 0.523 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.3704, allocations: 72.55 kB / 0.523 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.3704, allocations: 8.25 kB / 0.523 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.3728, allocations: 1.905 MB / 0.5249 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3728, allocations: 1.344 kB / 0.5249 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009163/0.3737, allocations: 470.1 kB / 0.5254 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.3739, allocations: 93.44 kB / 0.5254 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.3739, allocations: 7.359 kB / 0.5254 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.3741, allocations: 15.03 kB / 0.5255 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/0.3742, allocations: 19.56 kB / 0.5255 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.3742, allocations: 10.25 kB / 0.5255 GB, free: 8.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.3744, allocations: 145.7 kB / 0.5256 GB, free: 8.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3744, allocations: 0 / 0.5256 GB, free: 8.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006653/0.3751, allocations: 87.62 kB / 0.5257 GB, free: 8.363 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 (22): * Single equations (assignments): 20 * 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): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/0.3763, allocations: 0.9983 MB / 0.5267 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.3774, allocations: 435.4 kB / 0.5271 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3774, allocations: 0 / 0.5271 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005126/0.3779, allocations: 290 kB / 0.5274 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.3784, allocations: 34.73 kB / 0.5274 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.3833, allocations: 3.026 MB / 0.5304 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.3839, allocations: 0.8052 MB / 0.5312 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001941/0.3841, allocations: 52.36 kB / 0.5312 GB, free: 4.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.3843, allocations: 93.64 kB / 0.5313 GB, free: 4.281 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3843, allocations: 0 / 0.5313 GB, free: 4.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03869/0.423, allocations: 5.693 MB / 0.5369 GB, free: 2.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.05, allocations: 1.312 kB / 0.5369 GB, free: 2.176 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches