Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001321/0.001321, allocations: 91.33 kB / 20.42 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.0009933/0.0009933, allocations: 165 kB / 23.8 MB, free: 0.7734 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.886/0.886, allocations: 158.6 MB / 185.7 MB, free: 2.492 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.1276/0.1276, allocations: 32.37 MB / 270.4 MB, free: 14.69 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.662e-05, allocations: 13.28 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002109/0.002126, allocations: 1.87 MB / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003174, allocations: 0.8894 MB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.003261, allocations: 3.938 kB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.003632, allocations: 159.4 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.003902, allocations: 139.5 kB / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.004164, allocations: 151.5 kB / 351 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.004377, allocations: 227.3 kB / 351.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.392e-05/0.004471, allocations: 9.797 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.004586, allocations: 123.6 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.00471, allocations: 127.7 kB / 351.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.004732, allocations: 4 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.004816, allocations: 43.98 kB / 351.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.004884, allocations: 51.83 kB / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.004934, allocations: 43.78 kB / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.005148, allocations: 159.4 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.00515, allocations: 3.938 kB / 351.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005152, allocations: 0 / 351.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.005157, allocations: 0 / 351.7 MB, free: 5.355 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005193/0.005677, allocations: 0.5459 MB / 352.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.005713, allocations: 8.031 kB / 352.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.005771, allocations: 36.73 kB / 352.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.005975, allocations: 195.7 kB / 352.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.005998, allocations: 4.359 kB / 352.5 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.006026, allocations: 8.375 kB / 352.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.006201, allocations: 106.3 kB / 352.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.006213, allocations: 3.938 kB / 352.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.006227, allocations: 4 kB / 352.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.006236, allocations: 3.938 kB / 352.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.007e-05/0.006296, allocations: 31.91 kB / 352.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.006677, allocations: 478.6 kB / 353.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.006847, allocations: 110.2 kB / 353.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.006893, allocations: 39.36 kB / 353.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.006911, allocations: 0 / 353.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.007044, allocations: 120.3 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.007045, allocations: 0 / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005064/0.007551, allocations: 316.9 kB / 353.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.007575, allocations: 85.09 kB / 353.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.007756, allocations: 338.3 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.007767, allocations: 33.7 kB / 354.2 MB, free: 2.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.007835, allocations: 191.1 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.007872, allocations: 51.62 kB / 354.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.007915, allocations: 39.38 kB / 354.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.00799, allocations: 0.5196 MB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.008034, allocations: 23.97 kB / 355 MB, free: 1.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/0.008084, allocations: 69.83 kB / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.008173, allocations: 98.81 kB / 355.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008174, allocations: 0 / 355.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001522/0.008327, allocations: 165.3 kB / 355.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.00834, allocations: 7.984 kB / 355.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.008346, allocations: 0 / 355.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.008363, allocations: 4 kB / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.008459, allocations: 31.92 kB / 355.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.008466, allocations: 4 kB / 355.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.008509, allocations: 8 kB / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.008518, allocations: 4 kB / 355.4 MB, free: 1.434 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.025e-05/0.008588, allocations: 180.4 kB / 355.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.008612, allocations: 35.75 kB / 355.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.008837, allocations: 183.4 kB / 355.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.00884, allocations: 0 / 355.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.008843, allocations: 0 / 355.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.00885, allocations: 7.984 kB / 355.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.009211, allocations: 0.6444 MB / 356.4 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.009213, allocations: 0 / 356.4 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.009253, allocations: 19.98 kB / 356.4 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.009256, allocations: 4 kB / 356.4 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.009268, allocations: 11.94 kB / 356.4 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.009269, allocations: 4.062 kB / 356.4 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009271, allocations: 3.938 kB / 356.4 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.009522, allocations: 464.6 kB / 356.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.009544, allocations: 20.42 kB / 356.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.009567, allocations: 4 kB / 356.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.009638, allocations: 7.984 kB / 356.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.009694, allocations: 23.86 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.009715, allocations: 15.98 kB / 357 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.009852, allocations: 231 kB / 357.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009853, allocations: 0 / 357.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.01008, allocations: 55.88 kB / 357.3 MB, free: 15.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.0009085/0.01099, allocations: 427 kB / 357.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.01118, allocations: 99.52 kB / 357.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01119, allocations: 0 / 357.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.01126, allocations: 62.7 kB / 357.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.01161, allocations: 61.12 kB / 357.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.01225, allocations: 408.6 kB / 358.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.148e-05/0.01232, allocations: 83.97 kB / 358.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.333e-05/0.01238, allocations: 34.17 kB / 358.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.01243, allocations: 32.48 kB / 358.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01243, allocations: 0 / 358.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Templates: time 0.004974/0.01741, allocations: 2.91 MB / 361.3 MB, free: 11.39 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.2509556408040226]