Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.001712/0.001712, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002319/0.002319, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.524/1.524, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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.2439/0.2439, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.677e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002414/0.002441, allocations: 1.652 MB / 348.7 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003596, allocations: 0.7532 MB / 349.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.003667, allocations: 0 / 349.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.00405, allocations: 87.69 kB / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.004294, allocations: 83.59 kB / 349.6 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.004489, allocations: 71.78 kB / 349.7 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.004654, allocations: 111.6 kB / 349.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.004699, allocations: 11.92 kB / 349.8 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.004799, allocations: 55.88 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.004911, allocations: 47.89 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.004936, allocations: 4 kB / 349.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.005023, allocations: 27.92 kB / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.005097, allocations: 35.86 kB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.005154, allocations: 15.92 kB / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.0054, allocations: 103.6 kB / 350.1 MB, free: 6.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.005405, allocations: 0 / 350.1 MB, free: 6.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.005406, allocations: 0 / 350.1 MB, free: 6.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.005414, allocations: 0 / 350.1 MB, free: 6.66 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007197/0.006133, allocations: 337.6 kB / 350.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.006193, allocations: 12.03 kB / 350.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.447e-05/0.006268, allocations: 20.84 kB / 350.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.006574, allocations: 149.5 kB / 350.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.006595, allocations: 4.375 kB / 350.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.006611, allocations: 4.375 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.006789, allocations: 54.23 kB / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.006801, allocations: 3.938 kB / 350.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.006815, allocations: 0 / 350.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.006822, allocations: 0 / 350.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.981e-05/0.006912, allocations: 15.98 kB / 350.6 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.007101, allocations: 133.3 kB / 350.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.007279, allocations: 54.56 kB / 350.8 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.007361, allocations: 24.84 kB / 350.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.007384, allocations: 0 / 350.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.007564, allocations: 63.39 kB / 350.9 MB, free: 5.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.007565, allocations: 0 / 350.9 MB, free: 5.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003745/0.007939, allocations: 109.5 kB / 351 MB, free: 5.574 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.007992, allocations: 55.41 kB / 351.1 MB, free: 5.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.008209, allocations: 207 kB / 351.3 MB, free: 5.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.008226, allocations: 29.7 kB / 351.3 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.008288, allocations: 104.1 kB / 351.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.008335, allocations: 15.91 kB / 351.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.008373, allocations: 25.7 kB / 351.4 MB, free: 5.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.008521, allocations: 322.8 kB / 351.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.008576, allocations: 12 kB / 351.8 MB, free: 4.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.008637, allocations: 33.7 kB / 351.8 MB, free: 4.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.927e-05/0.008736, allocations: 49.64 kB / 351.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.008739, allocations: 0 / 351.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.00889, allocations: 85.58 kB / 351.9 MB, free: 4.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.008916, allocations: 4 kB / 351.9 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.008926, allocations: 7.969 kB / 352 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.008954, allocations: 4 kB / 352 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.00905, allocations: 15.92 kB / 352 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.009058, allocations: 320 / 352 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/0.00911, allocations: 15.92 kB / 352 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.009119, allocations: 4 kB / 352 MB, free: 4.539 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 (7): * Single equations (assignments): 7 * 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 0.0001365/0.009255, allocations: 122.8 kB / 352.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.00928, allocations: 15.91 kB / 352.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.00948, allocations: 106.7 kB / 352.2 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009482, allocations: 0 / 352.2 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.009488, allocations: 4 kB / 352.2 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.009492, allocations: 3.938 kB / 352.2 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.009602, allocations: 137.3 kB / 352.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.009603, allocations: 4 kB / 352.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.009626, allocations: 4 kB / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.009628, allocations: 0 / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.009638, allocations: 0 / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.00964, allocations: 3.938 kB / 352.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.009641, allocations: 0 / 352.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.009814, allocations: 113.1 kB / 352.5 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.009831, allocations: 15.91 kB / 352.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.009858, allocations: 3.984 kB / 352.5 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.009895, allocations: 7.938 kB / 352.5 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.009947, allocations: 4 kB / 352.5 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.009961, allocations: 7.984 kB / 352.5 MB, free: 3.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.01007, allocations: 167.2 kB / 352.7 MB, free: 3.766 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01007, allocations: 0 / 352.7 MB, free: 3.766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.0103, allocations: 16 kB / 352.7 MB, free: 3.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001913/0.01221, allocations: 437.5 kB / 353.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.01237, allocations: 47.97 kB / 353.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01238, allocations: 0 / 353.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.826e-05/0.01243, allocations: 19.94 kB / 353.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.01274, allocations: 40.64 kB / 353.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.01323, allocations: 231.5 kB / 353.5 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.101e-05/0.0133, allocations: 92.3 kB / 353.6 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.348e-05/0.01334, allocations: 16.55 kB / 353.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.01338, allocations: 16.5 kB / 353.6 MB, free: 2.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01338, allocations: 0 / 353.6 MB, free: 2.93 MB / 282.7 MB Notification: Performance of Templates: time 0.004623/0.01801, allocations: 1.613 MB / 355.2 MB, free: 1.332 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.014690832002088]