Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.911/0.911, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 32.8 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 3.938 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.453e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0009326/0.0009471, allocations: 0.543 MB / 376.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.001221, allocations: 147.5 kB / 376.7 MB, free: 3.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.001243, allocations: 0 / 376.7 MB, free: 3.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.00126, allocations: 0 / 376.7 MB, free: 3.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.001473, allocations: 43.72 kB / 376.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.001476, allocations: 0 / 376.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.019e-05/0.001526, allocations: 19.92 kB / 376.8 MB, free: 3.934 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.00156, allocations: 7.984 kB / 376.8 MB, free: 3.926 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.001586, allocations: 7.938 kB / 376.8 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.001641, allocations: 19.91 kB / 376.8 MB, free: 3.898 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.001652, allocations: 0 / 376.8 MB, free: 3.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.001735, allocations: 55.88 kB / 376.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.001745, allocations: 0 / 376.8 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.26e-05/0.001757, allocations: 3.938 kB / 376.9 MB, free: 3.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.328e-05/0.001851, allocations: 47.86 kB / 376.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.001852, allocations: 7.938 kB / 376.9 MB, free: 3.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.001853, allocations: 0 / 376.9 MB, free: 3.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.001857, allocations: 0 / 376.9 MB, free: 3.785 MB / 346.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.000253/0.00211, allocations: 364.5 kB / 377.3 MB, free: 3.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.002144, allocations: 12.03 kB / 377.3 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.002181, allocations: 8.938 kB / 377.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.231e-05/0.002254, allocations: 108.6 kB / 377.4 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.002264, allocations: 4.375 kB / 377.4 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.002275, allocations: 8.375 kB / 377.4 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.002362, allocations: 50.23 kB / 377.5 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.002367, allocations: 4.188 kB / 377.5 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.002377, allocations: 4.375 kB / 377.5 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.002383, allocations: 4.375 kB / 377.5 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.956e-05/0.002453, allocations: 51.83 kB / 377.5 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.002574, allocations: 124.6 kB / 377.6 MB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.002681, allocations: 71.03 kB / 377.7 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.002716, allocations: 31.67 kB / 377.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.002883, allocations: 28.25 kB / 377.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.0029, allocations: 41.33 kB / 377.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 8.02e-07/0.002901, allocations: 0 / 377.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001594/0.003061, allocations: 93.62 kB / 377.9 MB, free: 2.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.003087, allocations: 51.41 kB / 377.9 MB, free: 2.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.003144, allocations: 157.9 kB / 378.1 MB, free: 2.426 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.003154, allocations: 29.7 kB / 378.1 MB, free: 2.391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.003182, allocations: 130.9 kB / 378.3 MB, free: 2.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.003214, allocations: 39.62 kB / 378.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.003241, allocations: 27.36 kB / 378.3 MB, free: 2.184 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.003339, allocations: 0.4884 MB / 378.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.003358, allocations: 16.11 kB / 378.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.003377, allocations: 12 kB / 378.8 MB, free: 1.656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.00343, allocations: 51.61 kB / 378.9 MB, free: 1.602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.003432, allocations: 3.938 kB / 378.9 MB, free: 1.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.33e-05/0.003515, allocations: 82.19 kB / 379 MB, free: 1.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.003525, allocations: 4 kB / 379 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.00353, allocations: 3.984 kB / 379 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.003539, allocations: 0 / 379 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.003611, allocations: 19.98 kB / 379 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.003616, allocations: 0 / 379 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.003631, allocations: 7.891 kB / 379 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.003636, allocations: 8 kB / 379 MB, free: 1.469 MB / 346.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 6.031e-05/0.003696, allocations: 156.6 kB / 379.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-06/0.003704, allocations: 8 kB / 379.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.003821, allocations: 97.61 kB / 379.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.003824, allocations: 3.984 kB / 379.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.003826, allocations: 0 / 379.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.00383, allocations: 3.938 kB / 379.3 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.54e-05/0.003906, allocations: 120.6 kB / 379.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.003906, allocations: 0 / 379.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.003945, allocations: 27.92 kB / 379.4 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.003946, allocations: 0 / 379.4 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.003954, allocations: 8 kB / 379.4 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.003955, allocations: 0 / 379.4 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.003955, allocations: 0 / 379.4 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.004059, allocations: 124.3 kB / 379.6 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-06/0.004064, allocations: 7.891 kB / 379.6 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.004072, allocations: 0 / 379.6 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.004083, allocations: 8 kB / 379.6 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.004099, allocations: 3.984 kB / 379.6 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.004103, allocations: 4 kB / 379.6 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.538e-05/0.004128, allocations: 123.2 kB / 379.7 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004128, allocations: 0 / 379.7 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001272/0.004256, allocations: 19.94 kB / 379.7 MB, free: 0.6953 MB / 346.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 9.484e-05/0.00435, allocations: 107.2 kB / 379.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.594e-05/0.004446, allocations: 55.59 kB / 379.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.004449, allocations: 7.938 kB / 379.9 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.004475, allocations: 35.61 kB / 379.9 MB, free: 484 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.228e-05/0.004567, allocations: 4 kB / 379.9 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.004799, allocations: 146.3 kB / 380.1 MB, free: 304 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.064e-05/0.004829, allocations: 63.34 kB / 380.1 MB, free: 220 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.086e-05/0.00485, allocations: 4 kB / 380.1 MB, free: 216 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.004868, allocations: 12.5 kB / 380.1 MB, free: 204 kB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.004868, allocations: 0 / 380.1 MB, free: 204 kB / 346.7 MB Notification: Performance of Templates: time 0.001921/0.006789, allocations: 0.6978 MB / 380.8 MB, free: 15.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.671510354615748]