Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001789/0.001789, allocations: 88.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.002126/0.002126, allocations: 161.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.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3305/0.3305, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 375.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.904e-05/5.152e-05, allocations: 2.312 kB / 375.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004514/0.004566, allocations: 1.676 MB / 377 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.006722, allocations: 0.9626 MB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.006839, allocations: 3.938 kB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.007292, allocations: 51.83 kB / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.007733, allocations: 99.52 kB / 378.1 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.007978, allocations: 75.61 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.008203, allocations: 103.6 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.403e-05/0.008257, allocations: 12.17 kB / 378.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.008387, allocations: 55.83 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.008477, allocations: 23.84 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.008501, allocations: 4 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.713e-05/0.008598, allocations: 31.98 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.008686, allocations: 31.91 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.008746, allocations: 19.88 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.009001, allocations: 111.6 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.009007, allocations: 0 / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.009008, allocations: 0 / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.009013, allocations: 4 kB / 378.6 MB, free: 1.602 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007046/0.009718, allocations: 373.3 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.009757, allocations: 12.03 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.009823, allocations: 12.84 kB / 379 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.01024, allocations: 162.5 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.01026, allocations: 4.375 kB / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.01028, allocations: 384 / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.01047, allocations: 50.23 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.01049, allocations: 3.938 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.0105, allocations: 4 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.01051, allocations: 4 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.01062, allocations: 19.92 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.01093, allocations: 141.3 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.01115, allocations: 46.62 kB / 379.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.917e-05/0.01123, allocations: 20.84 kB / 379.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.01126, allocations: 4 kB / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.01148, allocations: 63.39 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.01148, allocations: 0 / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004309/0.01192, allocations: 117.4 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.01199, allocations: 51.41 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/0.01239, allocations: 276.1 kB / 379.9 MB, free: 120 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.01242, allocations: 25.7 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.01259, allocations: 116.2 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/0.01303, allocations: 15.84 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.01309, allocations: 17.72 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.01337, allocations: 326.8 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.01344, allocations: 15.98 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.01352, allocations: 33.69 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.01365, allocations: 53.64 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01365, allocations: 0 / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002122/0.01387, allocations: 89.53 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.01389, allocations: 10.03 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.0139, allocations: 3.938 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.01393, allocations: 320 / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.01404, allocations: 11.98 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.01405, allocations: 7.938 kB / 380.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.392e-05/0.0141, allocations: 4 kB / 380.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01411, allocations: 8.031 kB / 380.7 MB, free: 15.35 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 (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 0.0001675/0.01428, allocations: 133.8 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.01431, allocations: 15.91 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.01461, allocations: 106.7 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01461, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.01462, allocations: 4 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.01463, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.01484, allocations: 141.2 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01484, allocations: 0 / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.01487, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01487, allocations: 8 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.01489, allocations: 11.97 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.0149, allocations: 3.938 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.0149, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.01514, allocations: 124.9 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.01516, allocations: 7.953 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.01518, allocations: 4 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.041e-05/0.01522, allocations: 3.938 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.01527, allocations: 11.98 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.01529, allocations: 0 / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.0155, allocations: 208.6 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0155, allocations: 0 / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.01573, allocations: 20 kB / 381.4 MB, free: 14.5 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: 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.00199/0.01772, allocations: 432.6 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.01791, allocations: 47.91 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01792, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/0.01799, allocations: 16 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.01832, allocations: 46.52 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.01894, allocations: 280.8 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.01907, allocations: 105.7 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.01913, allocations: 12.48 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.01918, allocations: 16.48 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01919, allocations: 0 / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of Templates: time 0.005742/0.02493, allocations: 1.675 MB / 384.1 MB, free: 12.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.960032969014719]