Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 175.6 kB / 16.71 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 225.7 MB / 243.2 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007347/0.0007347, allocations: 97.02 kB / 294.4 MB, free: 9.695 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.265/0.265, allocations: 38.18 MB / 383.7 MB, free: 40.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002753, allocations: 8 kB / 453.6 MB, free: 8.805 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2529, allocations: 59.15 MB / 0.5007 GB, free: 38.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.002915/0.2558, allocations: 3.302 MB / 0.5039 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2577, allocations: 2.72 MB / 0.5066 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2579, allocations: 15.44 kB / 0.5066 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.258, allocations: 34.02 kB / 0.5066 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.2586, allocations: 257.4 kB / 0.5069 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2588, allocations: 115.3 kB / 0.507 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006128/0.2595, allocations: 0.5722 MB / 0.5075 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000606/0.2601, allocations: 483.5 kB / 0.508 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.2603, allocations: 132.9 kB / 0.5081 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.2605, allocations: 149.1 kB / 0.5083 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.2606, allocations: 7.781 kB / 0.5083 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000572/0.2612, allocations: 383.6 kB / 0.5086 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.2613, allocations: 83.77 kB / 0.5087 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.2614, allocations: 128.9 kB / 0.5088 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.2619, allocations: 372.7 kB / 0.5092 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.262, allocations: 0 / 0.5092 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.262, allocations: 0 / 0.5092 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.262, allocations: 0.9688 kB / 0.5092 GB, free: 35.54 MB / 378.7 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.000629/0.2626, allocations: 485.2 kB / 0.5097 GB, free: 35.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2627, allocations: 13.12 kB / 0.5097 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009146/0.2636, allocations: 104.6 kB / 0.5098 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.2639, allocations: 268 kB / 0.51 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.2639, allocations: 10.53 kB / 0.51 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.264, allocations: 21.16 kB / 0.5101 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.2646, allocations: 325.9 kB / 0.5104 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2646, allocations: 1.062 kB / 0.5104 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.2647, allocations: 10.59 kB / 0.5104 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/0.2647, allocations: 21.58 kB / 0.5104 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.2652, allocations: 314 kB / 0.5107 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.2667, allocations: 1.255 MB / 0.5119 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.2669, allocations: 168.4 kB / 0.5121 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.2671, allocations: 108.6 kB / 0.5122 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2671, allocations: 3.5 kB / 0.5122 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.2671, allocations: 37.25 kB / 0.5122 GB, free: 33.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.2671, allocations: 0 / 0.5122 GB, free: 33.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.001277/0.2684, allocations: 0.6644 MB / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.2684, allocations: 87.92 kB / 0.513 GB, free: 33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2686, allocations: 182.2 kB / 0.5131 GB, free: 32.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2686, allocations: 32.67 kB / 0.5132 GB, free: 32.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.2687, allocations: 151 kB / 0.5133 GB, free: 32.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.2687, allocations: 70.45 kB / 0.5134 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.2687, allocations: 4.656 kB / 0.5134 GB, free: 32.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.2688, allocations: 328.7 kB / 0.5137 GB, free: 32.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.2689, allocations: 78.7 kB / 0.5138 GB, free: 32.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.269, allocations: 156 kB / 0.5139 GB, free: 32.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.2693, allocations: 249.9 kB / 0.5142 GB, free: 32.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2693, allocations: 0 / 0.5142 GB, free: 32.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000488/0.2698, allocations: 359.6 kB / 0.5145 GB, free: 31.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2698, allocations: 5.656 kB / 0.5145 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2698, allocations: 2.844 kB / 0.5145 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003239/0.2701, allocations: 91.55 kB / 0.5146 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2703, allocations: 41.28 kB / 0.5146 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.2719, allocations: 1.954 MB / 0.5165 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.272, allocations: 13.25 kB / 0.5166 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2721, allocations: 8.938 kB / 0.5166 GB, free: 30.24 MB / 378.7 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.0001028/0.2722, allocations: 157.8 kB / 0.5167 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.2722, allocations: 16.41 kB / 0.5167 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/0.2728, allocations: 325.5 kB / 0.517 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2728, allocations: 4.031 kB / 0.517 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2728, allocations: 2.906 kB / 0.517 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2728, allocations: 0 / 0.517 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008854/0.2737, allocations: 0.7466 MB / 0.5178 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2737, allocations: 0 / 0.5178 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.687e-05/0.2738, allocations: 22.42 kB / 0.5178 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.2741, allocations: 85.31 kB / 0.5179 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2741, allocations: 2.25 kB / 0.5179 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.2754, allocations: 1.83 MB / 0.5197 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2754, allocations: 0 / 0.5197 GB, free: 27.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.2759, allocations: 408.5 kB / 0.5201 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.2759, allocations: 90.92 kB / 0.5201 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.276, allocations: 6.594 kB / 0.5201 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.2761, allocations: 8.734 kB / 0.5202 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.2761, allocations: 24.34 kB / 0.5202 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.2761, allocations: 5.781 kB / 0.5202 GB, free: 27.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.993e-05/0.2762, allocations: 141.5 kB / 0.5203 GB, free: 27.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2762, allocations: 3.938 kB / 0.5203 GB, free: 27.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.2767, allocations: 72.25 kB / 0.5204 GB, free: 27.4 MB / 378.7 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 9.427e-05/0.2768, allocations: 107.5 kB / 0.5205 GB, free: 27.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.2773, allocations: 368.6 kB / 0.5208 GB, free: 27.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2774, allocations: 8 kB / 0.5209 GB, free: 27.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.2777, allocations: 260.8 kB / 0.5211 GB, free: 26.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.278, allocations: 35.83 kB / 0.5211 GB, free: 26.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.2787, allocations: 0.596 MB / 0.5217 GB, free: 26.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.2788, allocations: 0.7685 MB / 0.5225 GB, free: 25.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.279, allocations: 40.66 kB / 0.5225 GB, free: 25.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.279, allocations: 18.03 kB / 0.5225 GB, free: 25.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.279, allocations: 4 kB / 0.5225 GB, free: 25.82 MB / 378.7 MB Notification: Performance of Templates: time 0.004644/0.2837, allocations: 2.705 MB / 0.5252 GB, free: 25.62 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (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 & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches