Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001365/0.001365, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001445/0.001445, allocations: 168 kB / 25 MB, free: 8.871 MB / 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.9472/0.9472, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.038e-05, allocations: 2.312 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001648/0.001679, allocations: 0.5322 MB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004204/0.002099, allocations: 143.5 kB / 378.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.002132, allocations: 4 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.002152, allocations: 3.938 kB / 378.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.002426, allocations: 39.77 kB / 378.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.00243, allocations: 0 / 378.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.002494, allocations: 19.92 kB / 378.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.002537, allocations: 4 kB / 378.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.002575, allocations: 15.92 kB / 378.8 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.002637, allocations: 11.92 kB / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.002649, allocations: 0 / 378.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.00277, allocations: 51.88 kB / 378.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.002787, allocations: 15.92 kB / 378.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.002806, allocations: 7.938 kB / 378.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.00294, allocations: 43.88 kB / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002943, allocations: 0 / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.002943, allocations: 0 / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.002948, allocations: 3.938 kB / 378.9 MB, free: 2.082 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.0003107/0.003259, allocations: 368.5 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.003301, allocations: 8.031 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.00335, allocations: 8.938 kB / 379.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.003449, allocations: 108.6 kB / 379.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.003462, allocations: 4.375 kB / 379.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.003476, allocations: 8.375 kB / 379.4 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.003596, allocations: 54.17 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003604, allocations: 4.188 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.003616, allocations: 4.359 kB / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.003624, allocations: 384 / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.003729, allocations: 47.89 kB / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.003883, allocations: 120.6 kB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.004037, allocations: 83.06 kB / 379.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.004093, allocations: 27.67 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.004314, allocations: 23.98 kB / 379.8 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.004344, allocations: 41.39 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.004345, allocations: 0 / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002399/0.004585, allocations: 93.8 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.004619, allocations: 51.41 kB / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.004705, allocations: 157.9 kB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.00472, allocations: 25.7 kB / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.004755, allocations: 126.9 kB / 380.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.004802, allocations: 43.75 kB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.004843, allocations: 31.38 kB / 380.3 MB, free: 496 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.004995, allocations: 496.1 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.005029, allocations: 19.94 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.005057, allocations: 11.98 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.005135, allocations: 43.69 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.005138, allocations: 3.984 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001308/0.005269, allocations: 82.19 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.005285, allocations: 11.94 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005289, allocations: 0 / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.005303, allocations: 0 / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.005411, allocations: 20 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.005417, allocations: 0 / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.005444, allocations: 15.88 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.00545, allocations: 0 / 381 MB, free: 15.77 MB / 362.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 8.297e-05/0.005533, allocations: 164.5 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.005551, allocations: 4 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.005743, allocations: 93.61 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.005746, allocations: 0 / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.00575, allocations: 4 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.005755, allocations: 3.938 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.00586, allocations: 136.6 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.005862, allocations: 0 / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.005937, allocations: 12 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.00594, allocations: 0 / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.005952, allocations: 8 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.005955, allocations: 3.984 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005956, allocations: 0 / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.006113, allocations: 116.3 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.006124, allocations: 11.89 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.006136, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.736e-05/0.006164, allocations: 4 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.006187, allocations: 11.98 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.006193, allocations: 0 / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.998e-05/0.006233, allocations: 123.2 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.006233, allocations: 0 / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000231/0.006464, allocations: 23.92 kB / 381.7 MB, free: 15 MB / 362.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.0001463/0.00661, allocations: 110.1 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.006748, allocations: 55.59 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.00675, allocations: 0 / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.006793, allocations: 31.77 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.006951, allocations: 15.94 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.007287, allocations: 150.1 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.007325, allocations: 55.36 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.213e-05/0.007367, allocations: 11.98 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.007401, allocations: 12.5 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.007401, allocations: 0 / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of Templates: time 0.002897/0.0103, allocations: 0.6469 MB / 382.8 MB, free: 13.85 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8832807841245085]