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.000848/0.0008482, allocations: 92.22 kB / 16.65 MB, free: 6.59 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.0009262/0.0009263, allocations: 185 kB / 17.57 MB, free: 6.199 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.199/1.199, allocations: 223.2 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1588/0.1588, allocations: 38.09 MB / 330.8 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 8 kB / 400.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0807/0.08099, allocations: 59.18 MB / 460 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003464/0.08448, allocations: 3.813 MB / 463.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.08651, allocations: 1.854 MB / 465.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.08662, allocations: 15.88 kB / 465.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.08673, allocations: 39.7 kB / 465.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.08732, allocations: 390.8 kB / 466.1 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.08755, allocations: 119.7 kB / 466.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.08818, allocations: 0.8457 MB / 467 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006054/0.0888, allocations: 443.6 kB / 467.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.08899, allocations: 171.2 kB / 467.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.08923, allocations: 227.2 kB / 467.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.08926, allocations: 12 kB / 467.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006035/0.08987, allocations: 0.5377 MB / 468.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.08999, allocations: 135.7 kB / 468.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.09012, allocations: 164.9 kB / 468.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.09058, allocations: 0.5023 MB / 469.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.09059, allocations: 0 / 469.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0906, allocations: 4 kB / 469.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.0906, allocations: 0 / 469.2 MB, free: 13.66 MB / 350.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.0005331/0.09114, allocations: 0.5497 MB / 469.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.492e-05/0.09118, allocations: 8.031 kB / 469.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.09124, allocations: 66.72 kB / 469.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.09227, allocations: 132.4 kB / 470 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.09254, allocations: 293.3 kB / 470.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.09256, allocations: 20.88 kB / 470.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.09262, allocations: 28.36 kB / 470.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.09317, allocations: 439.8 kB / 470.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.09319, allocations: 3.938 kB / 470.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.09323, allocations: 12 kB / 470.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.09326, allocations: 24.55 kB / 470.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005486/0.09382, allocations: 429.9 kB / 471.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.09562, allocations: 1.725 MB / 472.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.09595, allocations: 294.1 kB / 473.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.09613, allocations: 133.7 kB / 473.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.09616, allocations: 4 kB / 473.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.09619, allocations: 34.94 kB / 473.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.0962, allocations: 4 kB / 473.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001558/0.09776, allocations: 0.7951 MB / 474.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.09781, allocations: 81.11 kB / 474.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.09798, allocations: 210.9 kB / 474.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.098, allocations: 29.83 kB / 474.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.0981, allocations: 188 kB / 474.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.09817, allocations: 78.83 kB / 474.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.09821, allocations: 33.72 kB / 474.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.09831, allocations: 330.8 kB / 475.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.09846, allocations: 104.5 kB / 475.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.09866, allocations: 205 kB / 475.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.09905, allocations: 343.7 kB / 475.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.09906, allocations: 4 kB / 475.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006639/0.09973, allocations: 433.2 kB / 476.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.09975, allocations: 8 kB / 476.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.09976, allocations: 4 kB / 476.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003347/0.1001, allocations: 88.73 kB / 476.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.1003, allocations: 59.89 kB / 476.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.102, allocations: 1.787 MB / 478.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.1021, allocations: 20.14 kB / 478.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.1021, allocations: 16 kB / 478.1 MB, free: 4.113 MB / 350.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.0001694/0.1023, allocations: 169.7 kB / 478.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.1024, allocations: 23.75 kB / 478.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.1031, allocations: 388.9 kB / 478.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1031, allocations: 7.984 kB / 478.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.1031, allocations: 3.938 kB / 478.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1031, allocations: 7.984 kB / 478.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.1044, allocations: 0.9166 MB / 479.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1044, allocations: 3.938 kB / 479.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.1045, allocations: 43.91 kB / 479.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.1048, allocations: 68.73 kB / 479.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.1048, allocations: 12.06 kB / 479.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.1063, allocations: 1.701 MB / 481.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1064, allocations: 32 / 481.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/0.107, allocations: 470.4 kB / 481.9 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.107, allocations: 96.83 kB / 482 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1071, allocations: 8.125 kB / 482 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1072, allocations: 11.98 kB / 482.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1073, allocations: 19.97 kB / 482.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1073, allocations: 12 kB / 482.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1074, allocations: 147.2 kB / 482.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1074, allocations: 0 / 482.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004673/0.1079, allocations: 88 kB / 482.3 MB, free: 15.66 MB / 366.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.000804/0.1087, allocations: 0.9886 MB / 483.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006337/0.1093, allocations: 438.9 kB / 483.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1094, allocations: 0 / 483.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.1097, allocations: 286.4 kB / 484 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1101, allocations: 28.23 kB / 484 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.1133, allocations: 3.143 MB / 487.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1137, allocations: 0.8026 MB / 488 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.1138, allocations: 53.94 kB / 488 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1139, allocations: 87.41 kB / 488.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1139, allocations: 0 / 488.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2707/0.3847, allocations: 5.226 MB / 493.3 MB, free: 4.508 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.3849, allocations: 225.4 kB / 493.6 MB, free: 4.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.99, allocations: 7.625 kB / 493.6 MB, free: 4.254 MB / 366.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","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches