Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.001131/0.001131, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001353/0.001353, allocations: 165 kB / 23.79 MB, free: 0.7773 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 1.077/1.077, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1667/0.1667, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.867e-05, allocations: 6.25 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002253/0.002282, allocations: 1.733 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008729/0.003155, allocations: 0.7998 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.003219, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.003532, allocations: 43.7 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.003731, allocations: 47.77 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.00394, allocations: 87.7 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.004072, allocations: 103.6 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.802e-05/0.00415, allocations: 4.234 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.004222, allocations: 55.83 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.004287, allocations: 23.91 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.004304, allocations: 4 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.004373, allocations: 43.92 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.004414, allocations: 23.91 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.004448, allocations: 15.94 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.00459, allocations: 91.59 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004593, allocations: 4 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004594, allocations: 0 / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.004597, allocations: 4 kB / 350.8 MB, free: 6.266 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000379/0.004976, allocations: 439.9 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.005011, allocations: 8.031 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.005056, allocations: 16.84 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.005192, allocations: 148.3 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.005209, allocations: 384 / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.005228, allocations: 8.312 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.005346, allocations: 62.94 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.005357, allocations: 3.938 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.005366, allocations: 0 / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.005373, allocations: 4 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.005405, allocations: 15.98 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.005642, allocations: 279.8 kB / 351.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.206e-05/0.005734, allocations: 55.11 kB / 351.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.00576, allocations: 23.61 kB / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.005773, allocations: 3.984 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.406e-05/0.005857, allocations: 69.05 kB / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.005858, allocations: 0 / 351.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003338/0.006192, allocations: 149.4 kB / 352.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.006217, allocations: 55.41 kB / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.006303, allocations: 219 kB / 352.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.00631, allocations: 29.7 kB / 352.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.006343, allocations: 150.8 kB / 352.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.006367, allocations: 27.8 kB / 352.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.006397, allocations: 31.36 kB / 352.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.006448, allocations: 0.4961 MB / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.006469, allocations: 12 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.006497, allocations: 35.67 kB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.789e-05/0.006545, allocations: 63.28 kB / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006546, allocations: 0 / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.5e-05/0.006631, allocations: 89.58 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.006641, allocations: 4 kB / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006645, allocations: 0 / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.006658, allocations: 0 / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.006723, allocations: 19.98 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.006728, allocations: 3.938 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.006756, allocations: 4 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006761, allocations: 4.031 kB / 353.3 MB, free: 3.551 MB / 282.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 4.988e-05/0.006811, allocations: 168.5 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.006825, allocations: 15.91 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.006945, allocations: 106.5 kB / 353.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.006948, allocations: 4 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.006951, allocations: 0 / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006954, allocations: 0 / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.007167, allocations: 385 kB / 354 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.007168, allocations: 0 / 354 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.007192, allocations: 15.98 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.007194, allocations: 4.031 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.007201, allocations: 0 / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.007202, allocations: 4 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.007204, allocations: 0 / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.783e-05/0.007302, allocations: 259.4 kB / 354.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.00731, allocations: 7.953 kB / 354.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.007326, allocations: 4 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.531e-05/0.007361, allocations: 7.984 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.007387, allocations: 0 / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.0074, allocations: 7.984 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.007445, allocations: 163.1 kB / 354.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007445, allocations: 3.938 kB / 354.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.00761, allocations: 27.92 kB / 354.5 MB, free: 2.305 MB / 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: 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.0009146/0.008524, allocations: 441.7 kB / 354.9 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.008648, allocations: 59.53 kB / 355 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.008649, allocations: 0 / 355 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.008685, allocations: 31.67 kB / 355 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.008904, allocations: 32.02 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.009197, allocations: 209.8 kB / 355.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.845e-05/0.009225, allocations: 63.34 kB / 355.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.169e-05/0.009257, allocations: 20.47 kB / 355.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.009283, allocations: 12.5 kB / 355.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.009284, allocations: 4 kB / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of Templates: time 0.003476/0.01276, allocations: 1.978 MB / 357.3 MB, free: 15.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.3317903778515756]