Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 196.5 kB / 16.1 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008131/0.0008127, allocations: 93.83 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.411/0.411, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002674, allocations: 7.984 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2812, allocations: 62.95 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.000476/0.2817, allocations: 228.2 kB / 0.5161 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002145/0.2819, allocations: 91.23 kB / 0.5162 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.2819, allocations: 4 kB / 0.5162 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.606e-06/0.2819, allocations: 3.938 kB / 0.5162 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.2821, allocations: 14.94 kB / 0.5162 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.298e-05/0.2821, allocations: 0 / 0.5162 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.642e-05/0.2822, allocations: 11.72 kB / 0.5162 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.2822, allocations: 0 / 0.5162 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.2823, allocations: 6.859 kB / 0.5162 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.2823, allocations: 0 / 0.5162 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.2823, allocations: 2.844 kB / 0.5162 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.474e-05/0.2824, allocations: 19.45 kB / 0.5162 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-06/0.2824, allocations: 4 kB / 0.5162 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.2824, allocations: 39.73 kB / 0.5163 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.08e-05/0.2825, allocations: 6.344 kB / 0.5163 GB, free: 36.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2825, allocations: 3 kB / 0.5163 GB, free: 36.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2825, allocations: 0 / 0.5163 GB, free: 36.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.2825, allocations: 0 / 0.5163 GB, free: 36.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001788/0.2827, allocations: 314.3 kB / 0.5166 GB, free: 36.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2827, allocations: 12.22 kB / 0.5166 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.2828, allocations: 0.9375 kB / 0.5166 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.254e-05/0.2828, allocations: 163.2 kB / 0.5167 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.2828, allocations: 4.375 kB / 0.5168 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2829, allocations: 8.359 kB / 0.5168 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.361e-05/0.2829, allocations: 39.44 kB / 0.5168 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.283, allocations: 192 / 0.5168 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.283, allocations: 3.938 kB / 0.5168 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.283, allocations: 0 / 0.5168 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.864e-05/0.283, allocations: 10.91 kB / 0.5168 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.833e-05/0.2831, allocations: 152.4 kB / 0.517 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.2833, allocations: 37.31 kB / 0.517 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.2833, allocations: 14.52 kB / 0.517 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.2836, allocations: 131.2 kB / 0.5171 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.2836, allocations: 34.5 kB / 0.5172 GB, free: 35.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2836, allocations: 3.938 kB / 0.5172 GB, free: 35.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.00111/0.2848, allocations: 222.9 kB / 0.5174 GB, free: 35.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.2848, allocations: 51.41 kB / 0.5174 GB, free: 35.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.417e-05/0.2848, allocations: 93.23 kB / 0.5175 GB, free: 35.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.2848, allocations: 28.45 kB / 0.5175 GB, free: 35.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.034e-05/0.2849, allocations: 80.14 kB / 0.5176 GB, free: 35.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.2849, allocations: 15.75 kB / 0.5176 GB, free: 35.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.2849, allocations: 2.844 kB / 0.5176 GB, free: 35.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.2849, allocations: 310.8 kB / 0.5179 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.149e-05/0.285, allocations: 29.27 kB / 0.518 GB, free: 35.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.23e-05/0.2851, allocations: 21.62 kB / 0.518 GB, free: 35.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2852, allocations: 59.55 kB / 0.518 GB, free: 35.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2852, allocations: 0 / 0.518 GB, free: 35.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001724/0.2854, allocations: 87.42 kB / 0.5181 GB, free: 35.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2854, allocations: 15.97 kB / 0.5181 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2854, allocations: 3.984 kB / 0.5181 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2855, allocations: 0 / 0.5181 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2856, allocations: 21.72 kB / 0.5182 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2856, allocations: 0 / 0.5182 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-05/0.2857, allocations: 9.109 kB / 0.5182 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.2857, allocations: 4 kB / 0.5182 GB, free: 35.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.2857, allocations: 108.8 kB / 0.5183 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.2858, allocations: 3.938 kB / 0.5183 GB, free: 34.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.286, allocations: 105.6 kB / 0.5184 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.286, allocations: 0 / 0.5184 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.286, allocations: 3.188 kB / 0.5184 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.286, allocations: 0 / 0.5184 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.2866, allocations: 374.9 kB / 0.5187 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2866, allocations: 0 / 0.5187 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.765e-05/0.2867, allocations: 18.84 kB / 0.5188 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2867, allocations: 2.625 kB / 0.5188 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.2867, allocations: 0 / 0.5188 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2867, allocations: 3 kB / 0.5188 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2867, allocations: 336 / 0.5188 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.2869, allocations: 189.9 kB / 0.519 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.2869, allocations: 88.97 kB / 0.519 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.287, allocations: 2.75 kB / 0.519 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.287, allocations: 9.297 kB / 0.519 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.2871, allocations: 3.188 kB / 0.5191 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.2871, allocations: 7 kB / 0.5191 GB, free: 34.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.387e-05/0.2871, allocations: 79.28 kB / 0.5191 GB, free: 34.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2871, allocations: 2.406 kB / 0.5191 GB, free: 34.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.2873, allocations: 10 kB / 0.5191 GB, free: 34.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.297e-05/0.2874, allocations: 95.44 kB / 0.5192 GB, free: 34.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.2876, allocations: 63.84 kB / 0.5193 GB, free: 34.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2876, allocations: 0 / 0.5193 GB, free: 34.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.2877, allocations: 27.53 kB / 0.5193 GB, free: 34.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.2879, allocations: 7.125 kB / 0.5193 GB, free: 34.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.2882, allocations: 166.7 kB / 0.5195 GB, free: 33.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.532e-05/0.2884, allocations: 0.6754 MB / 0.5201 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.2884, allocations: 14.44 kB / 0.5202 GB, free: 33.2 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2884, allocations: 0 / 0.5202 GB, free: 33.2 MB / 378.7 MB Notification: Performance of Templates: time 0.001544/0.2899, allocations: 0.6673 MB / 0.5208 GB, free: 33.16 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches