Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001117/0.001117, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001018/0.001018, allocations: 166.8 kB / 24.82 MB, free: 9.273 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.9893/0.9893, allocations: 177.1 MB / 205.3 MB, free: 5.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.2397/0.2397, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.675e-05, allocations: 6.25 kB / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002414/0.002431, allocations: 1.954 MB / 378.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.00363, allocations: 1.032 MB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.795e-05/0.003728, allocations: 0 / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.004004, allocations: 55.56 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.004234, allocations: 103.4 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.004381, allocations: 95.58 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.004537, allocations: 147.5 kB / 379.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.004628, allocations: 21.8 kB / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.004721, allocations: 75.75 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.0048, allocations: 43.83 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.004815, allocations: 8 kB / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.952e-05/0.004884, allocations: 51.91 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.004928, allocations: 27.86 kB / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.004966, allocations: 31.91 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.005129, allocations: 127.4 kB / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.00513, allocations: 0 / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005131, allocations: 0 / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.005134, allocations: 0 / 380.3 MB, free: 0.5352 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004424/0.005577, allocations: 0.5014 MB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.005608, allocations: 8.031 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.005647, allocations: 28.8 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.005797, allocations: 177 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.005813, allocations: 8.375 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.005828, allocations: 4.375 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.005972, allocations: 135.7 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.00598, allocations: 3.938 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.005987, allocations: 0 / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.005995, allocations: 4 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.006031, allocations: 27.92 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.006713, allocations: 0.5565 MB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.006885, allocations: 67.14 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.006914, allocations: 23.67 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.006932, allocations: 4 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.007041, allocations: 102.7 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.007043, allocations: 3.984 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001893/0.007232, allocations: 105.5 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.007262, allocations: 51.41 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.007391, allocations: 243 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.007406, allocations: 29.7 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.007478, allocations: 166.7 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.007498, allocations: 31.73 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.007552, allocations: 35.36 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.007672, allocations: 0.5078 MB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.007695, allocations: 8 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.007739, allocations: 62.34 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.075e-05/0.00781, allocations: 90.28 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007812, allocations: 0 / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001189/0.007931, allocations: 109.5 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.007943, allocations: 4 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.007949, allocations: 4 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.007963, allocations: 0 / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.008027, allocations: 20.12 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.008032, allocations: 11.92 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.008067, allocations: 11.94 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.008074, allocations: 4 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 7.918e-05/0.008153, allocations: 166.7 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.008171, allocations: 15.91 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.008295, allocations: 103.1 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.008297, allocations: 0 / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.008298, allocations: 0 / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.008303, allocations: 7.984 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.16e-05/0.008395, allocations: 133.1 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008396, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.008445, allocations: 15.98 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.008447, allocations: 0 / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.008455, allocations: 4 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.008456, allocations: 0 / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008457, allocations: 0 / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.008599, allocations: 152.8 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.008613, allocations: 19.78 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.008628, allocations: 4 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.729e-05/0.008655, allocations: 12.02 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.008681, allocations: 7.984 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.008693, allocations: 4 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.228e-05/0.008755, allocations: 167.1 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008755, allocations: 0 / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.008903, allocations: 24 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007159/0.009619, allocations: 397.5 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.659e-05/0.009715, allocations: 59.53 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.009716, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.304e-05/0.00975, allocations: 27.67 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.009939, allocations: 47.89 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.01026, allocations: 254.2 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.01029, allocations: 71.83 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.756e-05/0.01033, allocations: 13.48 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.01041, allocations: 102.2 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01041, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of Templates: time 0.003526/0.01394, allocations: 2.246 MB / 387.4 MB, free: 9.168 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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: 2.9548742226324975]