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.001562/0.001562, allocations: 112.7 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.001625/0.001625, 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1847/0.1847, allocations: 38.03 MB / 329.9 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.89 kB / 457.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3317, allocations: 58.05 MB / 0.5036 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004063/0.3358, allocations: 3.957 MB / 0.5075 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.3378, allocations: 1.821 MB / 0.5092 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.338, allocations: 10.41 kB / 0.5093 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009028/0.339, allocations: 358.2 kB / 0.5096 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007945/0.3398, allocations: 404.6 kB / 0.51 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.3402, allocations: 145.4 kB / 0.5101 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.3407, allocations: 495.2 kB / 0.5106 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.341, allocations: 207.4 kB / 0.5108 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.3413, allocations: 223.7 kB / 0.511 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.3416, allocations: 221.9 kB / 0.5112 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.3417, allocations: 25.84 kB / 0.5112 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006933/0.3424, allocations: 445.1 kB / 0.5117 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.3425, allocations: 161.8 kB / 0.5118 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3427, allocations: 154.9 kB / 0.512 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006254/0.3433, allocations: 498 kB / 0.5124 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3433, allocations: 0 / 0.5124 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3434, allocations: 0 / 0.5124 GB, free: 1.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3434, allocations: 0 / 0.5124 GB, free: 1.918 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.000755/0.3441, allocations: 0.5909 MB / 0.513 GB, free: 1.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3442, allocations: 16.55 kB / 0.513 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.508e-05/0.3442, allocations: 69.03 kB / 0.5131 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.3454, allocations: 135.6 kB / 0.5132 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.3458, allocations: 299.3 kB / 0.5135 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3459, allocations: 19.42 kB / 0.5135 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.3459, allocations: 29.28 kB / 0.5136 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.3466, allocations: 444.1 kB / 0.514 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3466, allocations: 1.438 kB / 0.514 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.3466, allocations: 9.594 kB / 0.514 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/0.3467, allocations: 23.03 kB / 0.514 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.3473, allocations: 429.7 kB / 0.5144 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.3495, allocations: 1.713 MB / 0.5161 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.3499, allocations: 284.8 kB / 0.5164 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.3501, allocations: 138.8 kB / 0.5165 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.3502, allocations: 7.469 kB / 0.5165 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.3502, allocations: 40.66 kB / 0.5166 GB, free: 15.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.254e-06/0.3502, allocations: 0 / 0.5166 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001936/0.3522, allocations: 0.7842 MB / 0.5173 GB, free: 14.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3522, allocations: 84.95 kB / 0.5174 GB, free: 14.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.3524, allocations: 207.6 kB / 0.5176 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3525, allocations: 34.95 kB / 0.5176 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.3526, allocations: 184.3 kB / 0.5178 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.3527, allocations: 76.47 kB / 0.5179 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/0.3528, allocations: 61.17 kB / 0.5179 GB, free: 14.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3529, allocations: 331 kB / 0.5183 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.353, allocations: 104.2 kB / 0.5184 GB, free: 13.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.3533, allocations: 215.5 kB / 0.5186 GB, free: 13.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.3537, allocations: 342.6 kB / 0.5189 GB, free: 13.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3537, allocations: 1.469 kB / 0.5189 GB, free: 13.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007576/0.3544, allocations: 429.7 kB / 0.5193 GB, free: 13.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3545, allocations: 6.906 kB / 0.5193 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3545, allocations: 3.562 kB / 0.5193 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.3549, allocations: 87.08 kB / 0.5194 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.3551, allocations: 53.86 kB / 0.5194 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.3572, allocations: 2.005 MB / 0.5214 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.3574, allocations: 15.16 kB / 0.5214 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.3574, allocations: 19.16 kB / 0.5214 GB, free: 11.52 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.000223/0.3576, allocations: 178.7 kB / 0.5216 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.3577, allocations: 21.66 kB / 0.5216 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/0.3584, allocations: 383.2 kB / 0.522 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3584, allocations: 2.438 kB / 0.522 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3585, allocations: 2.062 kB / 0.522 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3585, allocations: 3.062 kB / 0.522 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.3599, allocations: 0.9082 MB / 0.5229 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.36, allocations: 5.219 kB / 0.5229 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.3601, allocations: 37.12 kB / 0.5229 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002544/0.3604, allocations: 65.39 kB / 0.523 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.3604, allocations: 15.5 kB / 0.523 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.3622, allocations: 1.909 MB / 0.5249 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.3622, allocations: 10.14 kB / 0.5249 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.3629, allocations: 458.4 kB / 0.5253 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.363, allocations: 101.2 kB / 0.5254 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.363, allocations: 3.688 kB / 0.5254 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.3632, allocations: 10.28 kB / 0.5254 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.3632, allocations: 28.17 kB / 0.5255 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.3633, allocations: 6.25 kB / 0.5255 GB, free: 8.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.3634, allocations: 149.9 kB / 0.5256 GB, free: 8.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3634, allocations: 0 / 0.5256 GB, free: 8.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005419/0.364, allocations: 83.44 kB / 0.5257 GB, free: 8.387 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.00096/0.3649, allocations: 1.006 MB / 0.5267 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008152/0.3658, allocations: 427.7 kB / 0.5271 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3658, allocations: 1.094 kB / 0.5271 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004749/0.3663, allocations: 292.5 kB / 0.5273 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.3667, allocations: 44.45 kB / 0.5274 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.3708, allocations: 3.015 MB / 0.5303 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.3713, allocations: 0.798 MB / 0.5311 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.3714, allocations: 59.64 kB / 0.5312 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.3716, allocations: 85.19 kB / 0.5313 GB, free: 4.312 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3716, allocations: 4.906 kB / 0.5313 GB, free: 4.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.3985, allocations: 5.784 MB / 0.5369 GB, free: 2.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.913/10.31, allocations: 5.344 kB / 0.5369 GB, free: 2.16 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