Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009878/0.0009878, allocations: 95.44 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3113/0.3113, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 63.89 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2652, allocations: 62.02 MB / 0.5151 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001445/0.2667, allocations: 0.5968 MB / 0.5157 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003529/0.2671, allocations: 161 kB / 0.5159 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.462e-05/0.2671, allocations: 0 / 0.5159 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.2671, allocations: 3.219 kB / 0.5159 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.2673, allocations: 24.39 kB / 0.5159 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.745e-06/0.2673, allocations: 4 kB / 0.5159 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.645e-05/0.2674, allocations: 27.73 kB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.2674, allocations: 2.812 kB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.6e-05/0.2674, allocations: 10.09 kB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.2675, allocations: 14.48 kB / 0.516 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.2675, allocations: 3.094 kB / 0.516 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.216e-05/0.2676, allocations: 51.95 kB / 0.516 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.2676, allocations: 7.172 kB / 0.516 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.2676, allocations: 15.05 kB / 0.516 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.74e-05/0.2677, allocations: 36.39 kB / 0.5161 GB, free: 37.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2677, allocations: 0 / 0.5161 GB, free: 37.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2678, allocations: 4 kB / 0.5161 GB, free: 37.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.2678, allocations: 0 / 0.5161 GB, free: 37.16 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002446/0.268, allocations: 339.7 kB / 0.5164 GB, free: 36.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2681, allocations: 8.312 kB / 0.5164 GB, free: 36.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.2681, allocations: 11.62 kB / 0.5164 GB, free: 36.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.424e-05/0.2682, allocations: 168.3 kB / 0.5166 GB, free: 36.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2682, allocations: 4.25 kB / 0.5166 GB, free: 36.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2682, allocations: 3.406 kB / 0.5166 GB, free: 36.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.2683, allocations: 65.64 kB / 0.5166 GB, free: 36.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.2683, allocations: 4.188 kB / 0.5167 GB, free: 36.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2683, allocations: 3.938 kB / 0.5167 GB, free: 36.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2684, allocations: 2.719 kB / 0.5167 GB, free: 36.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.2685, allocations: 50.75 kB / 0.5167 GB, free: 36.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.2686, allocations: 179.5 kB / 0.5169 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.2687, allocations: 77.22 kB / 0.517 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.2688, allocations: 30.39 kB / 0.517 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.269, allocations: 256.5 kB / 0.5172 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.269, allocations: 30.56 kB / 0.5173 GB, free: 35.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.2691, allocations: 0 / 0.5173 GB, free: 35.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001983/0.2693, allocations: 110.8 kB / 0.5174 GB, free: 35.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.2693, allocations: 51.41 kB / 0.5174 GB, free: 35.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.184e-05/0.2693, allocations: 96.64 kB / 0.5175 GB, free: 35.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.2693, allocations: 29.83 kB / 0.5175 GB, free: 35.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.062e-05/0.2694, allocations: 80.14 kB / 0.5176 GB, free: 35.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.2694, allocations: 36.03 kB / 0.5176 GB, free: 35.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.2694, allocations: 26.41 kB / 0.5177 GB, free: 35.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.2695, allocations: 313.8 kB / 0.518 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.2695, allocations: 15.19 kB / 0.518 GB, free: 35.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.2695, allocations: 23.62 kB / 0.518 GB, free: 35.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.348e-05/0.2696, allocations: 50.33 kB / 0.5181 GB, free: 35.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2696, allocations: 4 kB / 0.5181 GB, free: 35.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.823e-05/0.2697, allocations: 85.42 kB / 0.5181 GB, free: 35.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.2697, allocations: 5.812 kB / 0.5181 GB, free: 35.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2698, allocations: 3.938 kB / 0.5181 GB, free: 35.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2698, allocations: 0 / 0.5181 GB, free: 35.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.2699, allocations: 18.47 kB / 0.5182 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.2699, allocations: 3.188 kB / 0.5182 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.2699, allocations: 3.906 kB / 0.5182 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.2699, allocations: 7 kB / 0.5182 GB, free: 35.12 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 (10): * Single equations (assignments): 10 * 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 5.658e-05/0.27, allocations: 113.6 kB / 0.5183 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.27, allocations: 10.84 kB / 0.5183 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.2702, allocations: 105.7 kB / 0.5184 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2702, allocations: 0 / 0.5184 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2702, allocations: 0 / 0.5184 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2702, allocations: 0 / 0.5184 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.147e-05/0.2703, allocations: 180.2 kB / 0.5186 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2703, allocations: 0 / 0.5186 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.2703, allocations: 14.53 kB / 0.5186 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2703, allocations: 0 / 0.5186 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2704, allocations: 15.83 kB / 0.5186 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2704, allocations: 2.688 kB / 0.5186 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2704, allocations: 0 / 0.5186 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.2706, allocations: 0.677 MB / 0.5193 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.2706, allocations: 81.02 kB / 0.5193 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2707, allocations: 6.812 kB / 0.5193 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.2707, allocations: 4 kB / 0.5193 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.2707, allocations: 6.328 kB / 0.5194 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.2707, allocations: 2.906 kB / 0.5194 GB, free: 33.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.486e-05/0.2707, allocations: 75.28 kB / 0.5194 GB, free: 33.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2707, allocations: 0 / 0.5194 GB, free: 33.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000286/0.271, allocations: 19.47 kB / 0.5194 GB, free: 33.84 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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 0.0001034/0.2711, allocations: 110.7 kB / 0.5196 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.2713, allocations: 55.41 kB / 0.5196 GB, free: 33.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2713, allocations: 0 / 0.5196 GB, free: 33.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.2713, allocations: 28.38 kB / 0.5196 GB, free: 33.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.2714, allocations: 18.19 kB / 0.5196 GB, free: 33.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.2718, allocations: 270.9 kB / 0.5199 GB, free: 33.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.127e-05/0.2719, allocations: 0.692 MB / 0.5206 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.259e-05/0.2719, allocations: 2.906 kB / 0.5206 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.2719, allocations: 13.38 kB / 0.5206 GB, free: 32.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2719, allocations: 0 / 0.5206 GB, free: 32.75 MB / 378.7 MB Notification: Performance of Templates: time 0.002164/0.2741, allocations: 0.6407 MB / 0.5212 GB, free: 32.66 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches