Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.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/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005088/0.005088, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001237/0.001237, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07223/0.07223, allocations: 16.78 MB / 307.3 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.89 kB / 426.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.09092, allocations: 53.55 MB / 480.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00137/0.09233, allocations: 480.4 kB / 480.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002793/0.09262, allocations: 119.6 kB / 480.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.09265, allocations: 3.938 kB / 480.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.09267, allocations: 4 kB / 480.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.09292, allocations: 23.55 kB / 480.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.09293, allocations: 0 / 480.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.964e-05/0.09296, allocations: 7.984 kB / 480.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.093, allocations: 352 / 480.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.368e-06/0.09302, allocations: 0 / 480.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.09311, allocations: 11.98 kB / 480.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-06/0.09312, allocations: 0 / 480.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-06/0.09313, allocations: 0 / 480.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-06/0.09314, allocations: 0 / 480.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.09316, allocations: 0 / 480.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.085e-05/0.0932, allocations: 15.92 kB / 480.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.09321, allocations: 7.938 kB / 480.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09322, allocations: 3.938 kB / 480.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.09323, allocations: 0 / 480.8 MB, free: 4.34 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002242/0.09345, allocations: 311.6 kB / 481.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.09349, allocations: 8.031 kB / 481.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.09352, allocations: 4.938 kB / 481.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.939e-05/0.0936, allocations: 160.4 kB / 481.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.09362, allocations: 384 / 481.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.09363, allocations: 4.375 kB / 481.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.167e-05/0.09372, allocations: 43.98 kB / 481.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.09373, allocations: 4.188 kB / 481.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.09374, allocations: 3.938 kB / 481.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.09375, allocations: 0 / 481.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.592e-05/0.09377, allocations: 3.938 kB / 481.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.09406, allocations: 467.7 kB / 481.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.09414, allocations: 173.1 kB / 481.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.09417, allocations: 84.08 kB / 482 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.09421, allocations: 79.27 kB / 482.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.09425, allocations: 109.8 kB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.09425, allocations: 0 / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 5.906e-05/0.09432, allocations: 29.69 kB / 482.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.09438, allocations: 134.7 kB / 482.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.89e-05/0.09444, allocations: 89.86 kB / 482.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.09446, allocations: 25.7 kB / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.09451, allocations: 91.98 kB / 482.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.09451, allocations: 0 / 482.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.09455, allocations: 21.83 kB / 482.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.787e-05/0.09464, allocations: 314.8 kB / 482.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-06/0.09465, allocations: 3.938 kB / 482.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.09468, allocations: 17.66 kB / 482.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.0947, allocations: 13.72 kB / 482.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.09471, allocations: 12 kB / 482.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.091e-05/0.0948, allocations: 45.62 kB / 483 MB, free: 1.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.09482, allocations: 4 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.09482, allocations: 0 / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.09484, allocations: 0 / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.032e-05/0.09488, allocations: 4 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.09489, allocations: 0 / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.09492, allocations: 0 / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.09493, allocations: 7.984 kB / 483 MB, free: 1.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/0.09501, allocations: 193.1 kB / 483.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.09507, allocations: 104.9 kB / 483.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.09511, allocations: 116 kB / 483.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.515e-05/0.09516, allocations: 176.3 kB / 483.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-05/0.09523, allocations: 180.2 kB / 483.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.084e-05/0.09528, allocations: 176.3 kB / 483.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.09548, allocations: 417.1 kB / 484.3 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.09552, allocations: 101 kB / 484.4 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.09556, allocations: 101 kB / 484.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.443e-05/0.09562, allocations: 184.2 kB / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/0.09568, allocations: 180.2 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.848e-05/0.09575, allocations: 192.2 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.386e-05/0.0958, allocations: 176.3 kB / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.09591, allocations: 307.6 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.09598, allocations: 190.1 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.09605, allocations: 184.5 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.09612, allocations: 101 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.09618, allocations: 184.2 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.09623, allocations: 109 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.788e-05/0.09626, allocations: 75.28 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09626, allocations: 0 / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.09648, allocations: 0 / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.864e-05/0.09659, allocations: 174.6 kB / 486.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.812e-05/0.09665, allocations: 7.938 kB / 486.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.09666, allocations: 0 / 486.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.09666, allocations: 3.938 kB / 486.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.09699, allocations: 462 kB / 487 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001601/0.09715, allocations: 160.3 kB / 487.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.09737, allocations: 0.6729 MB / 487.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.207e-05/0.09739, allocations: 0 / 487.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.09741, allocations: 7.438 kB / 487.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.8e-07/0.09741, allocations: 0 / 487.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Templates: time 0.001634/0.09905, allocations: 173.1 kB / 488 MB, free: 12.56 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Functions.Test.TestTimeConstants_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Functions.Test.TestTimeConstants.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches