Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001275/0.001275, allocations: 78.66 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.001426/0.001426, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.079/1.079, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3776/0.3776, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.77e-05/3.972e-05, allocations: 5.266 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00635/0.00639, allocations: 1.836 MB / 380.4 MB, free: 468 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004637/0.01103, allocations: 1.072 MB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.01116, allocations: 4 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.01166, allocations: 303.1 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.01214, allocations: 263 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.01242, allocations: 103.6 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.01274, allocations: 267.2 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.01279, allocations: 5.812 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.01299, allocations: 155.6 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.01503, allocations: 196.1 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.01506, allocations: 8 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.0152, allocations: 47.92 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.01534, allocations: 144.5 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.01543, allocations: 75.66 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.01578, allocations: 275 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01579, allocations: 0 / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01579, allocations: 3.938 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.01579, allocations: 0 / 383.3 MB, free: 13.56 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00082/0.01661, allocations: 0.7862 MB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.01666, allocations: 8.031 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.01673, allocations: 56.61 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.01709, allocations: 312.6 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.01711, allocations: 8.375 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.01712, allocations: 4.375 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.01729, allocations: 90.28 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.0173, allocations: 3.938 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.01731, allocations: 0 / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.01731, allocations: 4 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/0.01735, allocations: 15.92 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.01764, allocations: 224.8 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.0178, allocations: 90.22 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.01785, allocations: 35.28 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.01787, allocations: 4 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.01802, allocations: 100.4 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.01802, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000296/0.01832, allocations: 169.2 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.01836, allocations: 85.09 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.01881, allocations: 0.6741 MB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.01882, allocations: 33.64 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.01897, allocations: 314.7 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.01901, allocations: 23.83 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.01904, allocations: 39.36 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004305/0.01947, allocations: 0.5585 MB / 386.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.0195, allocations: 11.98 kB / 386.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.01954, allocations: 54.73 kB / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.791e-05/0.01961, allocations: 74.66 kB / 387 MB, free: 9.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01961, allocations: 0.5 kB / 387 MB, free: 9.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001387/0.01975, allocations: 153.2 kB / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01976, allocations: 4 kB / 387.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.01977, allocations: 4 kB / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.01978, allocations: 3.938 kB / 387.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.01986, allocations: 23.92 kB / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.01987, allocations: 4 kB / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.01992, allocations: 7.938 kB / 387.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.01993, allocations: 7.984 kB / 387.2 MB, free: 9.332 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: 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 9.186e-05/0.02002, allocations: 165.2 kB / 387.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.02006, allocations: 63.61 kB / 387.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.02024, allocations: 153.8 kB / 387.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.02024, allocations: 11.92 kB / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.02025, allocations: 0 / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.02025, allocations: 0 / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.02042, allocations: 225.1 kB / 387.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02042, allocations: 0 / 387.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.02045, allocations: 15.94 kB / 387.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.02046, allocations: 0 / 387.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.02046, allocations: 7.984 kB / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.02047, allocations: 4 kB / 387.9 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02047, allocations: 0 / 387.9 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.02063, allocations: 207.6 kB / 388.1 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.02068, allocations: 59.59 kB / 388.1 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.02071, allocations: 12.23 kB / 388.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.02077, allocations: 8 kB / 388.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.0208, allocations: 11.92 kB / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.02081, allocations: 11.94 kB / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002283/0.02104, allocations: 430.6 kB / 388.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02104, allocations: 0 / 388.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.02121, allocations: 48 kB / 388.7 MB, free: 7.859 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: 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.0007612/0.02198, allocations: 384.8 kB / 389 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.02208, allocations: 63.59 kB / 389.1 MB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02209, allocations: 3.938 kB / 389.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.213e-05/0.02213, allocations: 43.59 kB / 389.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.02239, allocations: 76.3 kB / 389.2 MB, free: 7.438 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.02305, allocations: 0.6442 MB / 389.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.164e-05/0.02312, allocations: 124.2 kB / 390 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.02318, allocations: 42.94 kB / 390 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.02329, allocations: 126.2 kB / 390.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02329, allocations: 0 / 390.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of Templates: time 0.006527/0.02982, allocations: 4.296 MB / 394.4 MB, free: 2.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.4570939959958196]