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.002142/0.002142, allocations: 96.97 kB / 20.21 MB, free: 4.207 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.002164/0.002164, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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.704/1.704, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2534/0.2534, 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 2.544e-06/2.544e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.799e-05/6.053e-05, allocations: 6.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003392/0.003452, allocations: 1.66 MB / 348.7 MB, free: 8.055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.00486, allocations: 0.7727 MB / 349.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.19e-05/0.004952, allocations: 0 / 349.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.005438, allocations: 95.61 kB / 349.5 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.005736, allocations: 75.61 kB / 349.6 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.006011, allocations: 79.77 kB / 349.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.006229, allocations: 103.7 kB / 349.8 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.797e-05/0.006297, allocations: 7.938 kB / 349.8 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.006438, allocations: 63.81 kB / 349.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.00658, allocations: 51.88 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.006614, allocations: 4 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.512e-05/0.006709, allocations: 27.98 kB / 350 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.006791, allocations: 23.86 kB / 350 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.006848, allocations: 11.94 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.00711, allocations: 111.6 kB / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.007117, allocations: 4 kB / 350.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.00712, allocations: 0 / 350.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.007128, allocations: 0 / 350.1 MB, free: 6.625 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.0006652/0.007793, allocations: 443.6 kB / 350.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.007843, allocations: 11.97 kB / 350.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.617e-05/0.007929, allocations: 20.83 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.008157, allocations: 144.4 kB / 350.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.008175, allocations: 8.359 kB / 350.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.008189, allocations: 4.375 kB / 350.7 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.008329, allocations: 42.25 kB / 350.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.008343, allocations: 11.88 kB / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.008356, allocations: 0 / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.008361, allocations: 0 / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.008434, allocations: 11.98 kB / 350.8 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.008626, allocations: 156.6 kB / 350.9 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.008801, allocations: 59.09 kB / 351 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.00886, allocations: 15.69 kB / 351 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.008882, allocations: 0 / 351 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.009031, allocations: 76.98 kB / 351.1 MB, free: 5.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.009032, allocations: 0 / 351.1 MB, free: 5.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002949/0.009327, allocations: 97.56 kB / 351.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.009361, allocations: 51.41 kB / 351.2 MB, free: 5.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.009523, allocations: 254.6 kB / 351.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.009536, allocations: 29.7 kB / 351.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.009596, allocations: 154.9 kB / 351.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.009632, allocations: 15.91 kB / 351.7 MB, free: 4.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.009667, allocations: 27.36 kB / 351.7 MB, free: 4.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.009805, allocations: 0.5001 MB / 352.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.009847, allocations: 15.94 kB / 352.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.009895, allocations: 35.36 kB / 352.2 MB, free: 4.266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.639e-05/0.009971, allocations: 47.38 kB / 352.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.009974, allocations: 0 / 352.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001216/0.0101, allocations: 89.52 kB / 352.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01011, allocations: 4 kB / 352.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01012, allocations: 3.938 kB / 352.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.01014, allocations: 4.312 kB / 352.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.01022, allocations: 8 kB / 352.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.01022, allocations: 0 / 352.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.01026, allocations: 8 kB / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.01027, allocations: 3.969 kB / 352.4 MB, free: 4.086 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 8.653e-05/0.01036, allocations: 173.5 kB / 352.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.01038, allocations: 15.91 kB / 352.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.01055, allocations: 94.7 kB / 352.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01055, allocations: 0 / 352.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.01056, allocations: 4 kB / 352.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01056, allocations: 0 / 352.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.01069, allocations: 160.6 kB / 352.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01069, allocations: 0 / 352.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.01071, allocations: 4 kB / 352.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01072, allocations: 3.984 kB / 352.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01073, allocations: 8 kB / 352.9 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01073, allocations: 3.938 kB / 352.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01073, allocations: 0 / 352.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.01089, allocations: 124.3 kB / 353 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.01091, allocations: 15.91 kB / 353 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.01093, allocations: 0 / 353 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.01096, allocations: 3.938 kB / 353 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.01101, allocations: 7.984 kB / 353 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.01103, allocations: 0 / 353 MB, free: 3.402 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.645e-05/0.01112, allocations: 187.1 kB / 353.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01112, allocations: 0 / 353.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.01132, allocations: 24 kB / 353.2 MB, free: 3.195 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.002827/0.01415, allocations: 438.4 kB / 353.7 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.01434, allocations: 47.61 kB / 353.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01434, allocations: 0 / 353.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.0144, allocations: 27.67 kB / 353.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.01472, allocations: 40.81 kB / 353.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.01523, allocations: 209.2 kB / 354 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.678e-05/0.01532, allocations: 100.3 kB / 354.1 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.43e-05/0.01536, allocations: 8.5 kB / 354.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.0154, allocations: 16.48 kB / 354.1 MB, free: 2.375 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0154, allocations: 0 / 354.1 MB, free: 2.375 MB / 282.7 MB Notification: Performance of Templates: time 0.005346/0.02075, allocations: 1.61 MB / 355.7 MB, free: 0.7852 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] 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.879915361991152]