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.000945/0.000945, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009388/0.0009388, allocations: 161 kB / 24.56 MB, free: 16 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 0.9887/0.9887, allocations: 177.1 MB / 205 MB, free: 5.648 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.3036/0.3036, allocations: 32.8 MB / 294.3 MB, free: 1.285 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.006e-05, allocations: 6.25 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002742/0.002772, allocations: 1.719 MB / 377.8 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.004445, allocations: 0.982 MB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.004576, allocations: 7.938 kB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.005056, allocations: 43.81 kB / 378.9 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.005519, allocations: 115.4 kB / 379 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.00577, allocations: 75.61 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.005973, allocations: 103.7 kB / 379.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.00602, allocations: 8.172 kB / 379.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.006122, allocations: 51.83 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.006203, allocations: 23.92 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.006221, allocations: 4 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.006301, allocations: 31.98 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.006364, allocations: 31.84 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.006409, allocations: 19.92 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.006612, allocations: 107.5 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.006616, allocations: 0 / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.006618, allocations: 0 / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.006623, allocations: 0 / 379.4 MB, free: 1.246 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.0005403/0.007164, allocations: 471.7 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.007204, allocations: 8.031 kB / 379.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.00726, allocations: 16.84 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.007471, allocations: 169.2 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.007492, allocations: 384 / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.007507, allocations: 4.375 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.007652, allocations: 58.94 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.007665, allocations: 3.938 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.007675, allocations: 0 / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.007684, allocations: 7.875 kB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.813e-05/0.007722, allocations: 15.98 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.007892, allocations: 152.6 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.008, allocations: 47.11 kB / 380.3 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.008032, allocations: 15.69 kB / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.008048, allocations: 0 / 380.4 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.008158, allocations: 68.98 kB / 380.4 MB, free: 92 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.00816, allocations: 0 / 380.4 MB, free: 92 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002325/0.008392, allocations: 89.56 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.008437, allocations: 55.41 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.008626, allocations: 274.6 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.008642, allocations: 33.7 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.008705, allocations: 162.9 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.008737, allocations: 11.91 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.008773, allocations: 31.36 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.008899, allocations: 0.4962 MB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.008931, allocations: 8 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.026e-05/0.008972, allocations: 35.3 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.028e-05/0.009032, allocations: 31.38 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.009035, allocations: 4 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001084/0.009144, allocations: 77.53 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.00916, allocations: 4 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.009168, allocations: 7.938 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.009188, allocations: 3.984 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.009274, allocations: 8 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.009281, allocations: 0 / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.009316, allocations: 8.312 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.009322, allocations: 0 / 381.8 MB, free: 14.68 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 8.874e-05/0.009411, allocations: 164.5 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.009431, allocations: 23.91 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.00961, allocations: 90.77 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.009613, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.009618, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.009621, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.00976, allocations: 168.5 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009762, allocations: 0 / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.009793, allocations: 7.938 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.009798, allocations: 3.984 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.009806, allocations: 4 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.00981, allocations: 7.938 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.009812, allocations: 0 / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.009941, allocations: 124.3 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.009961, allocations: 11.91 kB / 382.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.009983, allocations: 0 / 382.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.01002, allocations: 15.92 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.01006, allocations: 0 / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.01007, allocations: 4 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.01019, allocations: 192.5 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01019, allocations: 0 / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001666/0.01036, allocations: 23.98 kB / 382.6 MB, free: 13.78 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.0008868/0.01124, allocations: 381.9 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01136, allocations: 43.59 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01137, allocations: 4.062 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.0114, allocations: 23.8 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.01162, allocations: 31.89 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.01203, allocations: 238.5 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.546e-05/0.01207, allocations: 75.27 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.197e-05/0.0121, allocations: 8.5 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.01214, allocations: 20.48 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01214, allocations: 0 / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003812/0.01595, allocations: 1.683 MB / 385.1 MB, free: 11.39 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","",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.3205015379935503]