Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001153/0.001153, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.00113/0.00113, allocations: 163.8 kB / 25.61 MB, free: 8.539 MB / 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 0.9606/0.9606, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] 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.1325/0.1325, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 377.3 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.783e-05, allocations: 6.312 kB / 377.3 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002082/0.0021, allocations: 1.828 MB / 379.2 MB, free: 23.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003245, allocations: 1.071 MB / 380.2 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.003334, allocations: 0 / 380.2 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.003745, allocations: 299.1 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.004069, allocations: 263 kB / 380.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.004214, allocations: 111.6 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.004407, allocations: 267.2 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.004465, allocations: 5.812 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.004587, allocations: 155.6 kB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.004733, allocations: 204 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.004751, allocations: 8 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.017e-05/0.004821, allocations: 43.98 kB / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.263e-05/0.004904, allocations: 136.5 kB / 381.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.004955, allocations: 75.66 kB / 381.8 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.005165, allocations: 286.8 kB / 382.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005166, allocations: 0 / 382.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.005167, allocations: 0 / 382.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.005173, allocations: 0 / 382.1 MB, free: 20.77 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005116/0.005685, allocations: 0.7862 MB / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.005714, allocations: 11.98 kB / 382.9 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.005762, allocations: 52.61 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.005985, allocations: 308.7 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.006005, allocations: 8.312 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.006016, allocations: 8.359 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.006139, allocations: 98.27 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.006148, allocations: 3.938 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.006156, allocations: 0 / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.006162, allocations: 4 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.006196, allocations: 19.92 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.006358, allocations: 216.8 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.006476, allocations: 94.14 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.006506, allocations: 35.36 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.006517, allocations: 0 / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.006624, allocations: 108.3 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.006624, allocations: 0 / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001994/0.006824, allocations: 169.2 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.00685, allocations: 81.09 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.007161, allocations: 0.6742 MB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.007172, allocations: 29.7 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.007276, allocations: 318.7 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.007305, allocations: 23.78 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.007335, allocations: 35.36 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.007413, allocations: 0.5625 MB / 385.7 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.007433, allocations: 11.98 kB / 385.7 MB, free: 16.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.007461, allocations: 54.72 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.25e-05/0.007514, allocations: 70.67 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007515, allocations: 0 / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001109/0.007626, allocations: 153.7 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.007636, allocations: 4 kB / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007641, allocations: 128 / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.007653, allocations: 7.938 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/0.00772, allocations: 23.98 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.007723, allocations: 0 / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.007771, allocations: 11.89 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.007776, allocations: 4 kB / 386 MB, free: 16.54 MB / 314.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.297e-05/0.007839, allocations: 173.1 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.007871, allocations: 63.72 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.008016, allocations: 157.8 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.00802, allocations: 11.88 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.008021, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.008025, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.008153, allocations: 221.1 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008155, allocations: 4 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.00818, allocations: 12 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008182, allocations: 3.984 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.008188, allocations: 4 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.00819, allocations: 7.984 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008191, allocations: 0 / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.008313, allocations: 199.7 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.008353, allocations: 59.55 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.008378, allocations: 7.984 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.008415, allocations: 4 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.008444, allocations: 11.92 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.008458, allocations: 8 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.00863, allocations: 434.6 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00863, allocations: 3.938 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.008792, allocations: 44 kB / 387.4 MB, free: 15.07 MB / 314.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0007251/0.009517, allocations: 387.4 kB / 387.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.374e-05/0.00961, allocations: 59.59 kB / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.009611, allocations: 0 / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/0.009646, allocations: 47.58 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.009885, allocations: 84.22 kB / 388 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.01038, allocations: 0.6383 MB / 388.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.377e-05/0.01043, allocations: 136 kB / 388.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.01048, allocations: 46.92 kB / 388.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.01056, allocations: 118.2 kB / 388.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01057, allocations: 4 kB / 388.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of Templates: time 0.005386/0.01595, allocations: 4.357 MB / 393.3 MB, free: 9.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1473742518574]