Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.002002/0.002002, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.002027/0.002027, allocations: 169.2 kB / 23.53 MB, free: 0.8984 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.53/1.53, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2266/0.2266, allocations: 32.37 MB / 270 MB, free: 14.77 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.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.672e-05, allocations: 6.25 kB / 347 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00321/0.003246, allocations: 1.665 MB / 348.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.0047, allocations: 0.761 MB / 349.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.004775, allocations: 4 kB / 349.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.005165, allocations: 59.78 kB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.005423, allocations: 71.56 kB / 349.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.005646, allocations: 91.69 kB / 349.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.005819, allocations: 95.69 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.005866, allocations: 4 kB / 349.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.005974, allocations: 55.83 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.00608, allocations: 39.88 kB / 349.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.006106, allocations: 4 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.937e-05/0.006185, allocations: 31.94 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.006243, allocations: 27.84 kB / 349.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.006288, allocations: 19.92 kB / 349.9 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.006484, allocations: 95.66 kB / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.006487, allocations: 0 / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006488, allocations: 0 / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.006495, allocations: 4 kB / 350 MB, free: 6.676 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005075/0.007003, allocations: 439.6 kB / 350.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.007042, allocations: 8.031 kB / 350.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.007097, allocations: 8.891 kB / 350.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.007299, allocations: 144.4 kB / 350.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.007325, allocations: 8.375 kB / 350.6 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.007338, allocations: 4.375 kB / 350.6 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.007465, allocations: 50.23 kB / 350.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.007476, allocations: 7.938 kB / 350.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.007486, allocations: 0 / 350.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.00749, allocations: 0 / 350.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/0.007557, allocations: 11.94 kB / 350.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.007718, allocations: 152.5 kB / 350.9 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.00787, allocations: 59.09 kB / 350.9 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.007915, allocations: 19.69 kB / 350.9 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.007933, allocations: 0 / 350.9 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.008069, allocations: 76.94 kB / 351 MB, free: 5.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.00807, allocations: 4 kB / 351 MB, free: 5.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003015/0.008371, allocations: 93.56 kB / 351.1 MB, free: 5.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.008406, allocations: 55.41 kB / 351.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.008555, allocations: 236.1 kB / 351.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.008566, allocations: 29.7 kB / 351.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.008614, allocations: 150.9 kB / 351.6 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.008644, allocations: 15.91 kB / 351.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.00868, allocations: 23.38 kB / 351.6 MB, free: 4.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.008783, allocations: 0.5001 MB / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.008823, allocations: 11.98 kB / 352.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.00887, allocations: 43.3 kB / 352.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.008965, allocations: 47.36 kB / 352.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.008968, allocations: 0 / 352.2 MB, free: 4.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001259/0.009094, allocations: 77.58 kB / 352.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.009108, allocations: 8 kB / 352.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.009115, allocations: 3.938 kB / 352.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.009135, allocations: 0 / 352.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.009226, allocations: 11.98 kB / 352.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.009235, allocations: 4 kB / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.009291, allocations: 0 / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.009299, allocations: 12.34 kB / 352.3 MB, free: 4.176 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.003e-05/0.009389, allocations: 160.6 kB / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.009411, allocations: 15.91 kB / 352.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.009606, allocations: 102 kB / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.009608, allocations: 0 / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.009613, allocations: 0 / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.009618, allocations: 0 / 352.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.009734, allocations: 148.6 kB / 352.7 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.009735, allocations: 0 / 352.7 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.009759, allocations: 4 kB / 352.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.009761, allocations: 4 kB / 352.7 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.009773, allocations: 7.938 kB / 352.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.009775, allocations: 3.938 kB / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.009776, allocations: 0 / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.009939, allocations: 128.3 kB / 352.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.00996, allocations: 11.89 kB / 352.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.009983, allocations: 4 kB / 352.9 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.43e-05/0.01002, allocations: 7.922 kB / 352.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.01008, allocations: 4 kB / 352.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.0101, allocations: 4 kB / 352.9 MB, free: 3.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.274e-05/0.01019, allocations: 172 kB / 353.1 MB, free: 3.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01019, allocations: 4 kB / 353.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.0104, allocations: 19.98 kB / 353.1 MB, free: 3.316 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002878/0.01327, allocations: 434.7 kB / 353.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.01343, allocations: 47.61 kB / 353.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01343, allocations: 0 / 353.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.397e-05/0.01348, allocations: 27.67 kB / 353.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.01377, allocations: 37.53 kB / 353.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.0142, allocations: 197.4 kB / 353.8 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.943e-05/0.01426, allocations: 91.19 kB / 353.9 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.896e-05/0.0143, allocations: 12.48 kB / 353.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.01434, allocations: 16.5 kB / 354 MB, free: 2.516 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01434, allocations: 3.938 kB / 354 MB, free: 2.512 MB / 282.7 MB Notification: Performance of Templates: time 0.004682/0.01902, allocations: 1.607 MB / 355.6 MB, free: 0.9219 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.407512473058887]