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.001138/0.001138, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001245/0.001245, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9949/0.9949, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1384/0.1384, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.633e-06/1.633e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.094e-05, allocations: 2.312 kB / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00236/0.002381, allocations: 1.928 MB / 350.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.003307, allocations: 0.8232 MB / 351 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.003408, allocations: 7.938 kB / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.003722, allocations: 39.72 kB / 351 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.00392, allocations: 67.61 kB / 351.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.004151, allocations: 111.6 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.004304, allocations: 135.5 kB / 351.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004407, allocations: 21.61 kB / 351.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.542e-05/0.004502, allocations: 75.75 kB / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.004581, allocations: 39.83 kB / 351.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.0046, allocations: 8 kB / 351.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.027e-05/0.004671, allocations: 47.98 kB / 351.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.004716, allocations: 23.91 kB / 351.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.004753, allocations: 31.86 kB / 351.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.004922, allocations: 131.4 kB / 351.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004924, allocations: 0 / 351.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004925, allocations: 0 / 351.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.004929, allocations: 0 / 351.7 MB, free: 5.602 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.0004366/0.005365, allocations: 0.4936 MB / 352.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.005402, allocations: 8.031 kB / 352.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.005443, allocations: 20.84 kB / 352.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.00558, allocations: 176.2 kB / 352.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.005598, allocations: 8.375 kB / 352.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.005616, allocations: 4.375 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.005772, allocations: 139.7 kB / 352.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.00578, allocations: 3.938 kB / 352.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.00579, allocations: 0 / 352.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.005796, allocations: 4 kB / 352.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.422e-05/0.00583, allocations: 19.92 kB / 352.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.006167, allocations: 0.5566 MB / 353.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.006321, allocations: 75.06 kB / 353.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.006343, allocations: 19.67 kB / 353.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.006358, allocations: 8 kB / 353.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.105e-05/0.006449, allocations: 102.7 kB / 353.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.006451, allocations: 0 / 353.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001533/0.006604, allocations: 101.5 kB / 353.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.531e-05/0.006619, allocations: 55.41 kB / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.0067, allocations: 230.6 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.006709, allocations: 29.7 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.006757, allocations: 166.7 kB / 353.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.006776, allocations: 31.73 kB / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.006808, allocations: 39.34 kB / 353.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.006857, allocations: 0.5 MB / 354.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.006877, allocations: 15.98 kB / 354.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.006905, allocations: 58.42 kB / 354.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.207e-05/0.006967, allocations: 78.67 kB / 354.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006969, allocations: 4 kB / 354.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001012/0.007071, allocations: 113.4 kB / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.007083, allocations: 4 kB / 354.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007087, allocations: 0 / 354.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.007099, allocations: 4 kB / 354.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.007166, allocations: 20.11 kB / 354.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.00717, allocations: 11.94 kB / 354.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.007205, allocations: 7.938 kB / 354.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.007211, allocations: 8 kB / 354.8 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.476e-05/0.007266, allocations: 168.5 kB / 354.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.00728, allocations: 15.91 kB / 354.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.0074, allocations: 99.06 kB / 355 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007402, allocations: 0 / 355 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.007405, allocations: 0 / 355 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007409, allocations: 0 / 355 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.254e-05/0.007492, allocations: 145.1 kB / 355.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.007494, allocations: 4 kB / 355.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.007542, allocations: 8 kB / 355.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.007545, allocations: 4 kB / 355.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.007553, allocations: 0 / 355.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007555, allocations: 3.938 kB / 355.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.007557, allocations: 7.922 kB / 355.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.007688, allocations: 152.2 kB / 355.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.007702, allocations: 7.953 kB / 355.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.007715, allocations: 3.984 kB / 355.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.644e-05/0.007742, allocations: 8.031 kB / 355.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.007773, allocations: 11.98 kB / 355.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.007785, allocations: 4 kB / 355.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.007833, allocations: 169 kB / 355.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007833, allocations: 0 / 355.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.007993, allocations: 31.89 kB / 355.6 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.0007112/0.008704, allocations: 393.5 kB / 356 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.578e-05/0.0088, allocations: 55.53 kB / 356 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.008802, allocations: 0 / 356 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.008842, allocations: 31.8 kB / 356.1 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.009036, allocations: 43.91 kB / 356.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.009368, allocations: 264.3 kB / 356.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.625e-05/0.009395, allocations: 71.83 kB / 356.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.842e-05/0.009433, allocations: 13.14 kB / 356.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.009498, allocations: 98.19 kB / 356.5 MB, free: 424 kB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.009499, allocations: 0 / 356.5 MB, free: 424 kB / 282.7 MB Notification: Performance of Templates: time 0.003895/0.01339, allocations: 2.245 MB / 358.8 MB, free: 14.19 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.282223979011178]