Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001424/0.001424, 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.001557/0.001557, 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.438/1.438, allocations: 158.6 MB / 185.3 MB, free: 2.914 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.2441/0.2441, allocations: 32.38 MB / 270 MB, free: 14.78 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 347 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.759e-05/4.019e-05, allocations: 2.312 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003327/0.003367, allocations: 1.652 MB / 348.7 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004706, allocations: 0.7532 MB / 349.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.004813, allocations: 0 / 349.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.005196, allocations: 51.81 kB / 349.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.005502, allocations: 67.62 kB / 349.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.005807, allocations: 79.7 kB / 349.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.006011, allocations: 91.64 kB / 349.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.006061, allocations: 8 kB / 349.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.006186, allocations: 51.88 kB / 349.8 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.006268, allocations: 23.92 kB / 349.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.006291, allocations: 4 kB / 349.8 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.00642, allocations: 39.86 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.006485, allocations: 27.84 kB / 349.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.006538, allocations: 15.94 kB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.006767, allocations: 119.6 kB / 350 MB, free: 6.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.006771, allocations: 0 / 350 MB, free: 6.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006772, allocations: 0 / 350 MB, free: 6.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.00678, allocations: 0 / 350 MB, free: 6.746 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.0005768/0.007357, allocations: 353.5 kB / 350.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.007403, allocations: 12.03 kB / 350.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.007478, allocations: 20.84 kB / 350.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.007795, allocations: 161.2 kB / 350.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.007815, allocations: 4.359 kB / 350.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.007828, allocations: 4.375 kB / 350.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.007985, allocations: 54.23 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.007996, allocations: 3.938 kB / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.008007, allocations: 0 / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.008013, allocations: 0 / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.501e-05/0.008098, allocations: 15.98 kB / 350.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.008291, allocations: 133.3 kB / 350.7 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.008454, allocations: 58.55 kB / 350.8 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.008506, allocations: 20.84 kB / 350.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.008525, allocations: 3.938 kB / 350.8 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.00867, allocations: 67.39 kB / 350.9 MB, free: 5.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.008671, allocations: 0 / 350.9 MB, free: 5.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003235/0.008994, allocations: 105.5 kB / 351 MB, free: 5.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.009031, allocations: 59.41 kB / 351 MB, free: 5.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.009263, allocations: 259.5 kB / 351.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.009276, allocations: 33.7 kB / 351.3 MB, free: 5.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.00933, allocations: 108.1 kB / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.009368, allocations: 23.83 kB / 351.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.009415, allocations: 17.72 kB / 351.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.009486, allocations: 326.8 kB / 351.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.009542, allocations: 15.98 kB / 351.8 MB, free: 4.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.309e-05/0.009595, allocations: 29.7 kB / 351.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.033e-05/0.009686, allocations: 49.64 kB / 351.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.009688, allocations: 0 / 351.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001427/0.00983, allocations: 89.59 kB / 352 MB, free: 4.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.009845, allocations: 4 kB / 352 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.009852, allocations: 3.938 kB / 352 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.009875, allocations: 3.984 kB / 352 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.009959, allocations: 19.92 kB / 352 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.009965, allocations: 0 / 352 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.01002, allocations: 4.312 kB / 352 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.01002, allocations: 4 kB / 352 MB, free: 4.531 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.272e-05/0.01012, allocations: 130.8 kB / 352.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.01014, allocations: 23.94 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.01034, allocations: 102.8 kB / 352.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01034, allocations: 0 / 352.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.01034, allocations: 0 / 352.3 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01035, allocations: 4 kB / 352.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.01045, allocations: 145.2 kB / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01046, allocations: 0 / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.01048, allocations: 4 kB / 352.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01049, allocations: 0 / 352.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.0105, allocations: 8 kB / 352.4 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.0105, allocations: 7.938 kB / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.0105, allocations: 0 / 352.4 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.01067, allocations: 121 kB / 352.5 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.0107, allocations: 15.89 kB / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.01072, allocations: 0 / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.01e-05/0.01076, allocations: 7.938 kB / 352.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.0108, allocations: 7.984 kB / 352.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.01081, allocations: 4 kB / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.01094, allocations: 195.3 kB / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01094, allocations: 3.938 kB / 352.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.01117, allocations: 23.94 kB / 352.8 MB, free: 3.676 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.001971/0.01315, allocations: 438.3 kB / 353.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.01332, allocations: 39.97 kB / 353.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.01333, allocations: 0 / 353.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.01339, allocations: 23.92 kB / 353.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.0137, allocations: 36.73 kB / 353.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.01421, allocations: 268.1 kB / 353.6 MB, free: 2.969 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.115e-05/0.01428, allocations: 104.9 kB / 353.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.208e-05/0.01433, allocations: 12.48 kB / 353.7 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.01437, allocations: 16.5 kB / 353.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01437, allocations: 3.938 kB / 353.7 MB, free: 2.812 MB / 282.7 MB Notification: Performance of Templates: time 0.004758/0.01912, allocations: 1.639 MB / 355.4 MB, free: 1.188 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.991845029988326]