Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001485/0.001485, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00157/0.00157, allocations: 165.7 kB / 24.27 MB, free: 172 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 1.489/1.489, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.4553/0.4553, allocations: 32.79 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.871e-06, allocations: 4 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/4.038e-05, allocations: 6.25 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003797/0.003838, allocations: 1.727 MB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.006869, allocations: 1.68 MB / 378.8 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.006968, allocations: 0 / 378.8 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.007295, allocations: 43.7 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.007774, allocations: 103.4 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.008064, allocations: 75.61 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.008335, allocations: 107.7 kB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.008435, allocations: 7.984 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.00859, allocations: 63.77 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.00874, allocations: 27.91 kB / 379.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.008766, allocations: 12 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.009012, allocations: 95.88 kB / 379.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.009103, allocations: 31.84 kB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.009167, allocations: 19.92 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.009621, allocations: 179.4 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.009627, allocations: 4 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.009628, allocations: 0 / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.009633, allocations: 0 / 379.5 MB, free: 0.7109 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007452/0.01038, allocations: 345.5 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.01042, allocations: 8.031 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.01051, allocations: 20.89 kB / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.01089, allocations: 150.2 kB / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.01091, allocations: 4.312 kB / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.01094, allocations: 4.375 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.01134, allocations: 101 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.01135, allocations: 0 / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.01137, allocations: 0 / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.01137, allocations: 0 / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.01148, allocations: 24.06 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.01191, allocations: 232.5 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.01213, allocations: 66.61 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.0122, allocations: 20.84 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.01221, allocations: 0 / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.01239, allocations: 67.39 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.01239, allocations: 0 / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006616/0.01305, allocations: 181.3 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.01312, allocations: 77.11 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.01335, allocations: 170.5 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.01338, allocations: 33.7 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.01346, allocations: 104 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.0135, allocations: 35.62 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.01355, allocations: 21.72 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.01373, allocations: 322.8 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.01381, allocations: 23.98 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.01393, allocations: 68.27 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.01409, allocations: 65.64 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01409, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002402/0.01433, allocations: 105.6 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.01435, allocations: 8 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01435, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.01437, allocations: 4.359 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.01447, allocations: 15.94 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.01448, allocations: 4 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.01454, allocations: 4 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.01456, allocations: 8 kB / 381.8 MB, free: 14.25 MB / 362.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 (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 0.000128/0.01468, allocations: 129.3 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.01472, allocations: 11.98 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.01502, allocations: 122.5 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01503, allocations: 0 / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01503, allocations: 4 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01503, allocations: 3.984 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.01556, allocations: 350.9 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01557, allocations: 0 / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.01561, allocations: 11.98 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01561, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01563, allocations: 4 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01563, allocations: 4.031 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01563, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.01596, allocations: 216.2 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.01599, allocations: 15.94 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01602, allocations: 4 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.0161, allocations: 0 / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.01615, allocations: 19.86 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.01617, allocations: 4 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.01632, allocations: 135.2 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01632, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.01667, allocations: 55.8 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.002674/0.01934, allocations: 0.5833 MB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.01957, allocations: 67.77 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.01958, allocations: 4 kB / 383.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.01968, allocations: 35.98 kB / 383.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.02005, allocations: 35.91 kB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.02062, allocations: 213.3 kB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.02072, allocations: 81.45 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.093e-05/0.02079, allocations: 17.03 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.02085, allocations: 24.48 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of SimCode: time 5.72e-07/0.02085, allocations: 0 / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of Templates: time 0.006647/0.0275, allocations: 2.526 MB / 386.4 MB, free: 9.758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.088516345946118]