Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002216/0.002216, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.002354/0.002354, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2247/0.2247, allocations: 32.37 MB / 270 MB, free: 14.87 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.554e-05, allocations: 2.312 kB / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001604/0.001639, allocations: 0.5854 MB / 347.6 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003466/0.001986, allocations: 107.5 kB / 347.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.002019, allocations: 4 kB / 347.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.002034, allocations: 3.938 kB / 347.7 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.002323, allocations: 35.77 kB / 347.7 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.489e-06/0.002328, allocations: 0 / 347.7 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.002391, allocations: 23.91 kB / 347.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.002437, allocations: 4 kB / 347.7 MB, free: 9.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.002478, allocations: 15.92 kB / 347.7 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.002541, allocations: 7.984 kB / 347.8 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.002555, allocations: 0 / 347.8 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.002673, allocations: 47.89 kB / 347.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.002689, allocations: 19.86 kB / 347.8 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.002703, allocations: 11.92 kB / 347.8 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.002827, allocations: 39.89 kB / 347.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.00283, allocations: 0 / 347.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002831, allocations: 0 / 347.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.002835, allocations: 0 / 347.9 MB, free: 8.879 MB / 282.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.0003486/0.003184, allocations: 360.2 kB / 348.2 MB, free: 8.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.003236, allocations: 12.03 kB / 348.2 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.003302, allocations: 12.89 kB / 348.2 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.475e-05/0.003387, allocations: 108.6 kB / 348.4 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.003402, allocations: 4.375 kB / 348.4 MB, free: 8.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.003413, allocations: 4.375 kB / 348.4 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.003538, allocations: 58.19 kB / 348.4 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.003549, allocations: 192 / 348.4 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.003576, allocations: 12.31 kB / 348.4 MB, free: 8.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.003582, allocations: 384 / 348.4 MB, free: 8.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.003705, allocations: 55.88 kB / 348.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.003867, allocations: 132.6 kB / 348.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.004003, allocations: 83.06 kB / 348.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.004048, allocations: 27.69 kB / 348.7 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/0.004308, allocations: 31.97 kB / 348.8 MB, free: 7.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.004333, allocations: 33.39 kB / 348.8 MB, free: 7.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.004334, allocations: 0 / 348.8 MB, free: 7.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002561/0.00459, allocations: 109.8 kB / 348.9 MB, free: 7.719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.004618, allocations: 51.41 kB / 348.9 MB, free: 7.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.004681, allocations: 161.9 kB / 349.1 MB, free: 7.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.004692, allocations: 25.7 kB / 349.1 MB, free: 7.449 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.004714, allocations: 126.9 kB / 349.2 MB, free: 7.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.004753, allocations: 35.69 kB / 349.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.004787, allocations: 31.5 kB / 349.3 MB, free: 7.246 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.004874, allocations: 496.1 kB / 349.8 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.004907, allocations: 23.92 kB / 349.8 MB, free: 6.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.004936, allocations: 19.98 kB / 349.8 MB, free: 6.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.005008, allocations: 52.19 kB / 349.9 MB, free: 6.652 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005011, allocations: 0 / 349.9 MB, free: 6.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.005116, allocations: 89.62 kB / 350 MB, free: 6.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.00513, allocations: 4 kB / 350 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.005138, allocations: 4 kB / 350 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.005159, allocations: 0 / 350 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.005279, allocations: 15.98 kB / 350 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.005286, allocations: 4 kB / 350 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.005312, allocations: 15.83 kB / 350 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.005319, allocations: 0 / 350 MB, free: 6.516 MB / 282.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 7.2e-05/0.005391, allocations: 164.5 kB / 350.2 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.005404, allocations: 8 kB / 350.2 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.005593, allocations: 101.6 kB / 350.3 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.005595, allocations: 0 / 350.3 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.005599, allocations: 0 / 350.3 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.005603, allocations: 7.938 kB / 350.3 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.151e-05/0.005685, allocations: 128.5 kB / 350.4 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005686, allocations: 4 kB / 350.4 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.005747, allocations: 15.98 kB / 350.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.00575, allocations: 4 kB / 350.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.00576, allocations: 4 kB / 350.5 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.005762, allocations: 4 kB / 350.5 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005762, allocations: 0 / 350.5 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.005896, allocations: 128.3 kB / 350.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.005907, allocations: 15.88 kB / 350.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.005922, allocations: 0 / 350.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.005944, allocations: 0 / 350.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.005982, allocations: 11.98 kB / 350.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.005987, allocations: 8 kB / 350.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.21e-05/0.006019, allocations: 119.2 kB / 350.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00602, allocations: 0 / 350.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.006213, allocations: 19.94 kB / 350.8 MB, free: 5.715 MB / 282.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.0001691/0.006382, allocations: 114.7 kB / 350.9 MB, free: 5.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.006521, allocations: 59.61 kB / 350.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.006523, allocations: 0 / 350.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.006559, allocations: 35.67 kB / 351 MB, free: 5.496 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.006711, allocations: 12.08 kB / 351 MB, free: 5.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.007083, allocations: 150.2 kB / 351.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.007122, allocations: 67.25 kB / 351.2 MB, free: 5.223 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.394e-05/0.007156, allocations: 7.984 kB / 351.2 MB, free: 5.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.007182, allocations: 12.5 kB / 351.2 MB, free: 5.203 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007182, allocations: 0 / 351.2 MB, free: 5.203 MB / 282.7 MB Notification: Performance of Templates: time 0.003599/0.01078, allocations: 0.6475 MB / 351.8 MB, free: 4.559 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.100221775006503]