Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001109/0.001109, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001294/0.001294, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9743/0.9743, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1387/0.1387, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.376e-05, allocations: 2.312 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002095/0.002119, allocations: 1.753 MB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003277, allocations: 0.9897 MB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.00337, allocations: 0 / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.003658, allocations: 43.75 kB / 380.1 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.003913, allocations: 99.41 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.004089, allocations: 79.62 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.004227, allocations: 115.6 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.004317, allocations: 4 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.603e-05/0.004393, allocations: 55.83 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.00446, allocations: 27.91 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.004474, allocations: 4 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.004547, allocations: 43.92 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.004588, allocations: 23.91 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.004618, allocations: 19.92 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.004765, allocations: 103.5 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.004768, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.004769, allocations: 0 / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.004774, allocations: 8 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003548/0.005128, allocations: 443.9 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.005159, allocations: 11.98 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.005194, allocations: 16.84 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.00531, allocations: 145.1 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.005326, allocations: 4.375 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.005343, allocations: 4.375 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.385e-05/0.005437, allocations: 58.88 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.005446, allocations: 3.938 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.005456, allocations: 8 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005463, allocations: 4 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.005492, allocations: 15.97 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.005681, allocations: 268.3 kB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.98e-05/0.005771, allocations: 55.09 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.005789, allocations: 15.67 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.005799, allocations: 4 kB / 381.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.115e-05/0.00588, allocations: 68.98 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.005882, allocations: 0 / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002777/0.006159, allocations: 137.5 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.006184, allocations: 51.41 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.00627, allocations: 229.8 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.006279, allocations: 25.7 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.006315, allocations: 154.8 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.00634, allocations: 27.78 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.00637, allocations: 31.36 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.006426, allocations: 0.4962 MB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.006445, allocations: 15.92 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.006469, allocations: 23.38 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.006513, allocations: 55.34 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006514, allocations: 0 / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.377e-05/0.006608, allocations: 85.47 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.006621, allocations: 4 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006625, allocations: 0 / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.006637, allocations: 4 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.006707, allocations: 15.98 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.006711, allocations: 0 / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.006744, allocations: 8 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.00675, allocations: 7.969 kB / 383.2 MB, free: 19.44 MB / 314.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 (10): * Single equations (assignments): 10 * 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.5e-05/0.006825, allocations: 160.6 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.006843, allocations: 19.84 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.006988, allocations: 103.2 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.00699, allocations: 0 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006992, allocations: 0 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.006996, allocations: 4 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.007234, allocations: 362 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.007236, allocations: 0 / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.007264, allocations: 12.03 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.007267, allocations: 8 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.007276, allocations: 11.92 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.007279, allocations: 0 / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.007282, allocations: 4 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.007393, allocations: 255.4 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.007405, allocations: 7.953 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.007424, allocations: 0 / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.007468, allocations: 8 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.007502, allocations: 7.984 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.007516, allocations: 4 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.075e-05/0.007566, allocations: 171.1 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007566, allocations: 0 / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001859/0.007752, allocations: 27.94 kB / 384.3 MB, free: 18.22 MB / 314.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: 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 (9): * Single equations (assignments): 7 * 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.0009619/0.008714, allocations: 428.1 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.008825, allocations: 59.52 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008827, allocations: 0 / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.008857, allocations: 27.67 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.009076, allocations: 39.41 kB / 384.9 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.009349, allocations: 215.8 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.663e-05/0.009376, allocations: 75.19 kB / 385.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.288e-05/0.009408, allocations: 20.94 kB / 385.2 MB, free: 17.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.009463, allocations: 90.19 kB / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009463, allocations: 0 / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of Templates: time 0.003348/0.01281, allocations: 2.061 MB / 387.3 MB, free: 15.37 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.3469457989558578]