Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00115/0.00115, 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.001103/0.001103, allocations: 161 kB / 24.55 MB, free: 20 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.036/1.036, allocations: 177.1 MB / 205 MB, free: 5.641 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.2926/0.2926, 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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.033e-05, allocations: 10.25 kB / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002486/0.002506, allocations: 1.993 MB / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.003971, allocations: 1.169 MB / 379.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.004065, allocations: 4 kB / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006002/0.004666, allocations: 207.2 kB / 379.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.005023, allocations: 211.1 kB / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.005358, allocations: 163.4 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.005636, allocations: 275.1 kB / 380.1 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.005748, allocations: 16.58 kB / 380.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.00591, allocations: 143.6 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.006039, allocations: 107.8 kB / 380.4 MB, free: 320 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.006062, allocations: 8 kB / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.006174, allocations: 67.83 kB / 380.4 MB, free: 244 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.006244, allocations: 59.77 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.006299, allocations: 43.86 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.006539, allocations: 191.2 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006541, allocations: 0 / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.006542, allocations: 0 / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.006547, allocations: 0 / 380.7 MB, free: 15.95 MB / 362.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.0006026/0.007149, allocations: 0.5865 MB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.007188, allocations: 16.03 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.00725, allocations: 32.75 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.007526, allocations: 237.4 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.007545, allocations: 4.375 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.007561, allocations: 4.375 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.007718, allocations: 89.52 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.007733, allocations: 11.92 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.007744, allocations: 4 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.007752, allocations: 0 / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.007805, allocations: 23.97 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.0082, allocations: 363.4 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.008351, allocations: 110.2 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.008397, allocations: 31.36 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.008414, allocations: 4 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.008547, allocations: 120.2 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.008548, allocations: 0 / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002684/0.008816, allocations: 153.4 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.008851, allocations: 81.11 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.009356, allocations: 342.3 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.009373, allocations: 29.7 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.614e-05/0.009459, allocations: 190.8 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.009489, allocations: 31.84 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.009532, allocations: 39.36 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.009662, allocations: 0.5118 MB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.009696, allocations: 15.98 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.009765, allocations: 96.06 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.252e-05/0.009847, allocations: 83.23 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.009851, allocations: 7.875 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001427/0.009993, allocations: 125.4 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.01001, allocations: 4 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01001, allocations: 0 / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01002, allocations: 4 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.0101, allocations: 23.92 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01011, allocations: 8.094 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.01016, allocations: 11.89 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.01017, allocations: 8 kB / 384.1 MB, free: 12.29 MB / 362.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 8.368e-05/0.01025, allocations: 172.5 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.01028, allocations: 27.84 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.01047, allocations: 143.5 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.01047, allocations: 0 / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01048, allocations: 4 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01048, allocations: 0 / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.01063, allocations: 200.5 kB / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01063, allocations: 3.938 kB / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.01066, allocations: 15.98 kB / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.01066, allocations: 0 / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.01067, allocations: 8 kB / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.01067, allocations: 4.125 kB / 384.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01068, allocations: 4 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.01084, allocations: 183.9 kB / 384.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.01087, allocations: 39.67 kB / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.01089, allocations: 0 / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.01092, allocations: 12 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.01097, allocations: 15.95 kB / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.01098, allocations: 8 kB / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.01112, allocations: 239 kB / 385.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01112, allocations: 0 / 385.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.0113, allocations: 39.98 kB / 385.2 MB, free: 11.11 MB / 362.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.0008507/0.01215, allocations: 397 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.01231, allocations: 75.58 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01231, allocations: 0 / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.01237, allocations: 43.61 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.01264, allocations: 70.83 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.01312, allocations: 366.6 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.033e-05/0.01317, allocations: 91.95 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.137e-05/0.01323, allocations: 26.09 kB / 386.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.01328, allocations: 28.48 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01328, allocations: 0 / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.004979/0.01826, allocations: 3.242 MB / 389.5 MB, free: 6.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.304152201861143]