Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.002537/0.002537, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002794/0.002794, allocations: 161.3 kB / 24.27 MB, free: 152 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.662/1.662, 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.3803/0.3803, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/4.089e-05, allocations: 2.312 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.004007/0.004048, allocations: 1.691 MB / 377 MB, free: 3.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.006102, allocations: 0.9704 MB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.831e-05/0.00619, allocations: 7.938 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.006545, allocations: 55.73 kB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.006927, allocations: 103.5 kB / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.007149, allocations: 79.59 kB / 378.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.007368, allocations: 99.64 kB / 378.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.007418, allocations: 8.172 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.007556, allocations: 55.81 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.00765, allocations: 23.92 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.007677, allocations: 7.938 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.007784, allocations: 31.98 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.007866, allocations: 31.91 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.00792, allocations: 19.88 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.00817, allocations: 127.5 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.008174, allocations: 0 / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008175, allocations: 0 / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.008181, allocations: 0 / 378.6 MB, free: 1.578 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.0007422/0.008923, allocations: 471.4 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.008972, allocations: 8.031 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.575e-05/0.009047, allocations: 20.78 kB / 379.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.009347, allocations: 165.3 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.009362, allocations: 4.375 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.009377, allocations: 4.375 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.009529, allocations: 46.23 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.009542, allocations: 3.938 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.009552, allocations: 3.938 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.009559, allocations: 4 kB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.223e-05/0.009631, allocations: 11.98 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.009903, allocations: 164.6 kB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.0101, allocations: 59.09 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/0.01017, allocations: 23.69 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.01018, allocations: 0 / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.01036, allocations: 68.98 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.01036, allocations: 0 / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003464/0.01071, allocations: 105.5 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.01076, allocations: 51.41 kB / 379.8 MB, free: 240 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.01112, allocations: 298.7 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.01115, allocations: 25.7 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/0.01171, allocations: 170.9 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.01176, allocations: 15.91 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.01181, allocations: 27.38 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003323/0.01214, allocations: 0.5118 MB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.0122, allocations: 15.94 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.01226, allocations: 31.36 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.01237, allocations: 47.38 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01238, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00019/0.01257, allocations: 81.53 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.01258, allocations: 7.984 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01259, allocations: 3.938 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.01261, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.0127, allocations: 20.34 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01271, allocations: 0 / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.01276, allocations: 4 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.01276, allocations: 4 kB / 381.1 MB, free: 14.91 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.0001746/0.01294, allocations: 176.4 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.01297, allocations: 15.91 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.01322, allocations: 94.77 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01322, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01323, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01323, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.01346, allocations: 180.5 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01346, allocations: 0 / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.01349, allocations: 8 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.0135, allocations: 0 / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01351, allocations: 3.984 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.01351, allocations: 3.938 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01351, allocations: 0 / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.01375, allocations: 136.2 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.01378, allocations: 7.953 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.0138, allocations: 4 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.01384, allocations: 3.938 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.01389, allocations: 11.98 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.0139, allocations: 4 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.01411, allocations: 204.5 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01411, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.01433, allocations: 16 kB / 381.9 MB, free: 13.99 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.003011/0.01734, allocations: 433 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.01757, allocations: 51.59 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01757, allocations: 0 / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/0.01767, allocations: 31.75 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.01802, allocations: 46.77 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.01877, allocations: 250.4 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.01892, allocations: 105.7 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.49e-05/0.01897, allocations: 4.5 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.01903, allocations: 24.48 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01903, allocations: 0 / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of Templates: time 0.006049/0.02508, allocations: 1.648 MB / 384.5 MB, free: 11.56 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.256171234999783]