Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.001059/0.001059, 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.001828/0.001828, 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 0.8822/0.8822, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1477/0.1477, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.514e-05, allocations: 8.219 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002211/0.002236, allocations: 1.938 MB / 349.7 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009755/0.003212, allocations: 0.831 MB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.003308, allocations: 7.938 kB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.003667, allocations: 47.64 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.003899, allocations: 55.7 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.004144, allocations: 107.6 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.004323, allocations: 147.5 kB / 350.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.004436, allocations: 21.61 kB / 350.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.004525, allocations: 79.73 kB / 351 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.214e-05/0.004607, allocations: 35.89 kB / 351 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.004628, allocations: 4 kB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.004706, allocations: 43.98 kB / 351.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.00476, allocations: 31.84 kB / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.00481, allocations: 27.92 kB / 351.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.005017, allocations: 127.5 kB / 351.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005019, allocations: 0 / 351.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00502, allocations: 3.938 kB / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.005025, allocations: 7.938 kB / 351.3 MB, free: 5.848 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.0004106/0.005435, allocations: 0.4897 MB / 351.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.005471, allocations: 8.031 kB / 351.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.005523, allocations: 20.84 kB / 351.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.005683, allocations: 172.3 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.0057, allocations: 4.375 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.005727, allocations: 12.31 kB / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.005877, allocations: 137.9 kB / 352.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005886, allocations: 7.938 kB / 352.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.005898, allocations: 3.984 kB / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.005905, allocations: 4 kB / 352.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.681e-05/0.005962, allocations: 27.92 kB / 352.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.006321, allocations: 0.5756 MB / 352.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.006504, allocations: 71.09 kB / 352.8 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.00654, allocations: 31.66 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.006556, allocations: 8 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.006668, allocations: 98.69 kB / 352.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.006669, allocations: 0 / 352.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001961/0.006865, allocations: 113.5 kB / 353 MB, free: 3.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.006884, allocations: 51.41 kB / 353.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.007005, allocations: 234.7 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.007015, allocations: 25.7 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.007067, allocations: 170.8 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.007085, allocations: 35.67 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.007116, allocations: 31.38 kB / 353.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.00717, allocations: 0.5078 MB / 354.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.007196, allocations: 12 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.007232, allocations: 58.42 kB / 354.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.106e-05/0.007303, allocations: 86.73 kB / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.007305, allocations: 0 / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001091/0.007414, allocations: 129.4 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.007426, allocations: 4 kB / 354.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007432, allocations: 0 / 354.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.007447, allocations: 4 kB / 354.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.885e-05/0.007506, allocations: 19.98 kB / 354.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.007512, allocations: 4 kB / 354.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.007543, allocations: 7.938 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.007552, allocations: 4 kB / 354.4 MB, free: 2.418 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 6.068e-05/0.007612, allocations: 168.5 kB / 354.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.007628, allocations: 23.98 kB / 354.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.007762, allocations: 107.1 kB / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007763, allocations: 0 / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.00777, allocations: 7.984 kB / 354.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007773, allocations: 0 / 354.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.305e-05/0.007856, allocations: 156.5 kB / 354.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007858, allocations: 4 kB / 354.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.007903, allocations: 11.98 kB / 354.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007905, allocations: 0 / 354.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.007915, allocations: 4 kB / 354.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007916, allocations: 0 / 354.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007916, allocations: 4 kB / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.00806, allocations: 164.2 kB / 355 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.008072, allocations: 11.95 kB / 355 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.008087, allocations: 0 / 355 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.62e-05/0.008113, allocations: 7.984 kB / 355 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.008148, allocations: 15.92 kB / 355.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.008159, allocations: 4 kB / 355.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.379e-05/0.008213, allocations: 173 kB / 355.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008213, allocations: 0 / 355.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.008363, allocations: 35.88 kB / 355.3 MB, free: 1.457 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.0007081/0.009071, allocations: 385.4 kB / 355.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.009184, allocations: 63.78 kB / 355.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009185, allocations: 4.062 kB / 355.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.822e-05/0.009223, allocations: 35.73 kB / 355.7 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.009418, allocations: 43.91 kB / 355.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.009751, allocations: 256.1 kB / 356 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.429e-05/0.009776, allocations: 67.84 kB / 356.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.693e-05/0.009823, allocations: 21.08 kB / 356.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.009854, allocations: 24.48 kB / 356.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009854, allocations: 0 / 356.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of Templates: time 0.003771/0.01363, allocations: 2.045 MB / 358.2 MB, free: 14.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.22294650785625]