Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001113/0.001113, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.00127/0.00127, allocations: 167 kB / 24.84 MB, free: 9.293 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.022/1.022, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1221/0.1221, allocations: 32.38 MB / 271.5 MB, free: 14.54 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 349 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.057e-05, allocations: 12.22 kB / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00271/0.00273, allocations: 1.922 MB / 350.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.003643, allocations: 0.8232 MB / 351.7 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.003748, allocations: 7.938 kB / 351.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.004044, allocations: 51.62 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.004229, allocations: 59.64 kB / 351.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.00442, allocations: 103.7 kB / 352 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.004563, allocations: 147.5 kB / 352.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.004658, allocations: 21.61 kB / 352.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.668e-05/0.004745, allocations: 71.75 kB / 352.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.004831, allocations: 47.81 kB / 352.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.004849, allocations: 4 kB / 352.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.004917, allocations: 43.98 kB / 352.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.004966, allocations: 27.91 kB / 352.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.005004, allocations: 27.88 kB / 352.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.005169, allocations: 127.4 kB / 352.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005171, allocations: 0 / 352.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005172, allocations: 4 kB / 352.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005176, allocations: 0 / 352.5 MB, free: 5.598 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003937/0.00557, allocations: 0.4936 MB / 353 MB, free: 5.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.005603, allocations: 8.031 kB / 353 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.005647, allocations: 20.84 kB / 353 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.005791, allocations: 172.2 kB / 353.2 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.005806, allocations: 4.375 kB / 353.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.005827, allocations: 12.38 kB / 353.2 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.005955, allocations: 129.9 kB / 353.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.005963, allocations: 11.94 kB / 353.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.005972, allocations: 4 kB / 353.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005976, allocations: 0 / 353.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.528e-05/0.006012, allocations: 23.92 kB / 353.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.006337, allocations: 0.5566 MB / 353.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.006488, allocations: 71.08 kB / 354 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.006513, allocations: 23.67 kB / 354 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.006524, allocations: 4 kB / 354 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.94e-05/0.006624, allocations: 106.7 kB / 354.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.006625, allocations: 0 / 354.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001598/0.006785, allocations: 101.5 kB / 354.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.006804, allocations: 51.41 kB / 354.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.006895, allocations: 234.6 kB / 354.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.006905, allocations: 29.7 kB / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.00696, allocations: 166.8 kB / 354.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.006978, allocations: 31.73 kB / 354.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.007015, allocations: 35.34 kB / 354.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.007078, allocations: 0.5039 MB / 355.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.007095, allocations: 11.98 kB / 355.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.007131, allocations: 58.42 kB / 355.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.00719, allocations: 86.66 kB / 355.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.007192, allocations: 0 / 355.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001038/0.007296, allocations: 113.4 kB / 355.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.007309, allocations: 4 kB / 355.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.007317, allocations: 4 kB / 355.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007329, allocations: 0 / 355.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.007394, allocations: 27.92 kB / 355.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007398, allocations: 0 / 355.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.007432, allocations: 11.92 kB / 355.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.007438, allocations: 4 kB / 355.5 MB, free: 2.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.29e-05/0.007491, allocations: 168.5 kB / 355.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.007506, allocations: 20 kB / 355.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.007614, allocations: 103.1 kB / 355.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007616, allocations: 0 / 355.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.007617, allocations: 0 / 355.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.007621, allocations: 4 kB / 355.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.827e-05/0.007699, allocations: 137.1 kB / 356 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.0077, allocations: 0 / 356 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.007742, allocations: 12 kB / 356 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.007744, allocations: 3.984 kB / 356 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.007753, allocations: 3.938 kB / 356 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.007754, allocations: 3.938 kB / 356 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007756, allocations: 8 kB / 356 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.00789, allocations: 152.2 kB / 356.1 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.007903, allocations: 7.953 kB / 356.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.007919, allocations: 4 kB / 356.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.685e-05/0.007946, allocations: 8 kB / 356.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.007978, allocations: 3.984 kB / 356.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.00799, allocations: 4 kB / 356.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.42e-05/0.008034, allocations: 169 kB / 356.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008035, allocations: 0 / 356.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.008187, allocations: 31.89 kB / 356.4 MB, free: 1.332 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007324/0.008919, allocations: 393.8 kB / 356.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.009022, allocations: 59.72 kB / 356.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.009023, allocations: 0 / 356.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.009074, allocations: 31.8 kB / 356.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.009335, allocations: 39.91 kB / 356.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.009758, allocations: 264 kB / 357.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.889e-05/0.009797, allocations: 71.83 kB / 357.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.009848, allocations: 17.2 kB / 357.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.009932, allocations: 94.19 kB / 357.3 MB, free: 424 kB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009933, allocations: 0 / 357.3 MB, free: 424 kB / 282.7 MB Notification: Performance of Templates: time 0.005102/0.01504, allocations: 2.278 MB / 359.6 MB, free: 14.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.2106123422272503]