Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.001136/0.001136, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001185/0.001185, allocations: 164 kB / 24.84 MB, free: 9.254 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 0.9831/0.9831, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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.1824/0.1824, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 349 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.447e-05, allocations: 6.25 kB / 349 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002057/0.002072, allocations: 1.949 MB / 350.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003093, allocations: 0.9555 MB / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.003192, allocations: 0 / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.003777, allocations: 207.3 kB / 352.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.004007, allocations: 159.3 kB / 352.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.004313, allocations: 195.5 kB / 352.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.004505, allocations: 255.2 kB / 352.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.00459, allocations: 13.8 kB / 352.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.00471, allocations: 143.6 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.004813, allocations: 95.77 kB / 352.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.004834, allocations: 12 kB / 352.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.004942, allocations: 63.88 kB / 353 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.005004, allocations: 59.77 kB / 353.1 MB, free: 5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.005052, allocations: 43.8 kB / 353.1 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.005246, allocations: 179.3 kB / 353.3 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-06/0.005248, allocations: 0 / 353.3 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005248, allocations: 0 / 353.3 MB, free: 4.781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.005253, allocations: 0 / 353.3 MB, free: 4.781 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004382/0.005691, allocations: 0.5827 MB / 353.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.005721, allocations: 12.03 kB / 353.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.005766, allocations: 28.75 kB / 353.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.005949, allocations: 216.4 kB / 354.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.005969, allocations: 8.375 kB / 354.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.00598, allocations: 4.375 kB / 354.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.006118, allocations: 89.5 kB / 354.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.006129, allocations: 3.938 kB / 354.2 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.006139, allocations: 3.984 kB / 354.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.006145, allocations: 7.938 kB / 354.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.798e-05/0.006183, allocations: 23.97 kB / 354.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.006478, allocations: 316.1 kB / 354.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.006603, allocations: 98.2 kB / 354.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.006637, allocations: 31.36 kB / 354.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.006652, allocations: 7.938 kB / 354.7 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.006772, allocations: 116.3 kB / 354.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.674e-06/0.006774, allocations: 0 / 354.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002177/0.006991, allocations: 133.5 kB / 354.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.007029, allocations: 81.11 kB / 355 MB, free: 2.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.007191, allocations: 322.2 kB / 355.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.007204, allocations: 29.7 kB / 355.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.007275, allocations: 198.7 kB / 355.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.007302, allocations: 23.84 kB / 355.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.007341, allocations: 35.36 kB / 355.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.007415, allocations: 0.5118 MB / 356.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.007434, allocations: 15.98 kB / 356.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.007478, allocations: 95.98 kB / 356.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.007533, allocations: 70.72 kB / 356.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007535, allocations: 0 / 356.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000106/0.007641, allocations: 129.9 kB / 356.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.007653, allocations: 8 kB / 356.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.007659, allocations: 4 kB / 356.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.00767, allocations: 4.094 kB / 356.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/0.007739, allocations: 23.98 kB / 356.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.007743, allocations: 3.938 kB / 356.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.007786, allocations: 8 kB / 356.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.007794, allocations: 4 kB / 356.5 MB, free: 1.277 MB / 282.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.706e-05/0.007861, allocations: 168.6 kB / 356.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.007886, allocations: 35.69 kB / 356.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.008046, allocations: 135.4 kB / 356.8 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.008049, allocations: 0 / 356.8 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008052, allocations: 4 kB / 356.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.008058, allocations: 7.984 kB / 356.8 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.00816, allocations: 161.1 kB / 357 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008161, allocations: 0 / 357 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.008186, allocations: 12 kB / 357 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008188, allocations: 0 / 357 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.008195, allocations: 3.938 kB / 357 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.008198, allocations: 7.938 kB / 357 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.008199, allocations: 3.984 kB / 357 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.008325, allocations: 174.7 kB / 357.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.008346, allocations: 23.84 kB / 357.2 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.008369, allocations: 11.94 kB / 357.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.008404, allocations: 11.98 kB / 357.2 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.008438, allocations: 7.984 kB / 357.2 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.008449, allocations: 4 kB / 357.2 MB, free: 464 kB / 282.7 MB Notification: Performance of sorting global known variables: time 8.006e-05/0.008529, allocations: 222.9 kB / 357.5 MB, free: 244 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008529, allocations: 0 / 357.5 MB, free: 244 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.008699, allocations: 35.94 kB / 357.5 MB, free: 208 kB / 282.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0007954/0.009495, allocations: 402.2 kB / 357.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.009631, allocations: 59.59 kB / 358 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.009633, allocations: 0 / 358 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.546e-05/0.009688, allocations: 47.58 kB / 358 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.009965, allocations: 77.34 kB / 358.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.01042, allocations: 341.4 kB / 358.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.01049, allocations: 83.97 kB / 358.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.01054, allocations: 30.03 kB / 358.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.01066, allocations: 118.2 kB / 358.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01066, allocations: 0 / 358.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Templates: time 0.005222/0.01588, allocations: 3.54 MB / 362.2 MB, free: 11.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.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.3881068900227547]