Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001499/0.001499, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001512/0.001512, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.412/1.412, allocations: 158.6 MB / 185.3 MB, free: 2.891 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.2202/0.2202, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.153e-05, allocations: 2.312 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003163/0.003195, allocations: 1.816 MB / 348.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.004466, allocations: 0.8661 MB / 349.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.004571, allocations: 0 / 349.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.005063, allocations: 259.2 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.005424, allocations: 179.3 kB / 350.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.005802, allocations: 151.6 kB / 350.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.006166, allocations: 247.2 kB / 350.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.006275, allocations: 13.81 kB / 350.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.006513, allocations: 151.6 kB / 350.7 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.006706, allocations: 179.6 kB / 350.8 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.006734, allocations: 8 kB / 350.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.006847, allocations: 51.91 kB / 350.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.006935, allocations: 63.72 kB / 351 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.007007, allocations: 43.78 kB / 351 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.007329, allocations: 231.1 kB / 351.2 MB, free: 5.477 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.007333, allocations: 0 / 351.2 MB, free: 5.477 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007334, allocations: 0 / 351.2 MB, free: 5.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.00734, allocations: 0 / 351.2 MB, free: 5.477 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007386/0.008078, allocations: 0.4964 MB / 351.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.008118, allocations: 8.031 kB / 351.7 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.003e-05/0.008208, allocations: 36.75 kB / 351.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.008556, allocations: 213.8 kB / 352 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.008578, allocations: 12.38 kB / 352 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.008611, allocations: 4.375 kB / 352 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.008833, allocations: 107.8 kB / 352.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.008851, allocations: 3.938 kB / 352.1 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.008872, allocations: 8 kB / 352.1 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.00888, allocations: 0 / 352.1 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.009017, allocations: 39.97 kB / 352.2 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.00951, allocations: 396.6 kB / 352.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.009771, allocations: 121.3 kB / 352.7 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.009857, allocations: 41.64 kB / 352.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.009877, allocations: 0 / 352.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.0101, allocations: 121 kB / 352.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.01011, allocations: 0 / 352.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009097/0.01102, allocations: 396.5 kB / 353.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.01105, allocations: 85.09 kB / 353.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.01141, allocations: 497.6 kB / 353.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.01143, allocations: 29.7 kB / 353.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.0115, allocations: 156.4 kB / 354 MB, free: 2.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.01154, allocations: 47.64 kB / 354 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.01159, allocations: 37.7 kB / 354 MB, free: 2.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.01165, allocations: 346.8 kB / 354.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.444e-05/0.01175, allocations: 51.86 kB / 354.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.01186, allocations: 79.39 kB / 354.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.01204, allocations: 123.5 kB / 354.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01204, allocations: 0 / 354.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002914/0.01233, allocations: 198.1 kB / 354.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.01235, allocations: 8 kB / 354.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01235, allocations: 0 / 354.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.01238, allocations: 0 / 354.8 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01251, allocations: 35.92 kB / 354.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01252, allocations: 0 / 354.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.0126, allocations: 12.06 kB / 354.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01261, allocations: 12 kB / 354.9 MB, free: 1.582 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001307/0.01275, allocations: 169.7 kB / 355.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.01281, allocations: 47.7 kB / 355.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.01319, allocations: 216.4 kB / 355.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.01319, allocations: 4 kB / 355.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01319, allocations: 0 / 355.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.0132, allocations: 3.984 kB / 355.3 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.0138, allocations: 0.5887 MB / 355.9 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.0138, allocations: 4 kB / 355.9 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.01387, allocations: 19.94 kB / 355.9 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01387, allocations: 3.984 kB / 355.9 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.01388, allocations: 8 kB / 355.9 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01389, allocations: 4.312 kB / 356 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01389, allocations: 3.938 kB / 356 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.01422, allocations: 396.1 kB / 356.3 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.01425, allocations: 27.8 kB / 356.4 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.01429, allocations: 12.06 kB / 356.4 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.01442, allocations: 8 kB / 356.4 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.01451, allocations: 16.11 kB / 356.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.01453, allocations: 12 kB / 356.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004317/0.01497, allocations: 363.1 kB / 356.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01497, allocations: 0 / 356.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.01534, allocations: 47.92 kB / 356.8 MB, free: 15.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002316/0.01766, allocations: 499.1 kB / 357.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003728/0.01803, allocations: 115.9 kB / 357.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.01804, allocations: 0 / 357.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.0182, allocations: 63.89 kB / 357.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.01881, allocations: 75.03 kB / 357.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.01993, allocations: 0.5572 MB / 358.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.02014, allocations: 165.5 kB / 358.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.02025, allocations: 38.22 kB / 358.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.02034, allocations: 28.5 kB / 358.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02034, allocations: 0 / 358.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of Templates: time 0.007803/0.02814, allocations: 2.935 MB / 361.3 MB, free: 11.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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: 4.978040214977227]