Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002216/0.00222, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 100.3 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5609/0.5609, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004662, allocations: 20 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4756/0.6009, allocations: 87.7 MB / 0.5644 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004376/0.6014, allocations: 79.95 kB / 0.5645 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02774/0.6292, allocations: 5.682 MB / 0.57 GB, free: 9.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.6292, allocations: 4 kB / 0.57 GB, free: 9.156 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.039e-05/0.6293, allocations: 0 / 0.57 GB, free: 9.156 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007356/0.63, allocations: 442.2 kB / 0.5704 GB, free: 8.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.6301, allocations: 8.031 kB / 0.5704 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.6302, allocations: 27.19 kB / 0.5705 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.6306, allocations: 221 kB / 0.5707 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.6306, allocations: 4 kB / 0.5707 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.6307, allocations: 7.984 kB / 0.5707 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.6309, allocations: 57.66 kB / 0.5707 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6309, allocations: 0 / 0.5707 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.6309, allocations: 4 kB / 0.5707 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.631, allocations: 1.031 kB / 0.5707 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.6311, allocations: 23.92 kB / 0.5708 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.6317, allocations: 312.8 kB / 0.5711 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.6319, allocations: 59.55 kB / 0.5711 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.632, allocations: 3.984 kB / 0.5711 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.6322, allocations: 71.45 kB / 0.5712 GB, free: 7.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.765e-06/0.6322, allocations: 0 / 0.5712 GB, free: 7.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008501/0.6331, allocations: 189 kB / 0.5714 GB, free: 7.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.6331, allocations: 59.36 kB / 0.5714 GB, free: 7.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.6336, allocations: 241.7 kB / 0.5717 GB, free: 7.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.6336, allocations: 25.7 kB / 0.5717 GB, free: 7.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.6337, allocations: 170.6 kB / 0.5719 GB, free: 7.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.6338, allocations: 27.64 kB / 0.5719 GB, free: 7.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.6338, allocations: 0 / 0.5719 GB, free: 7.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6339, allocations: 310.8 kB / 0.5722 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.6341, allocations: 23.98 kB / 0.5722 GB, free: 6.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.6342, allocations: 37.7 kB / 0.5722 GB, free: 6.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.6343, allocations: 20.86 kB / 0.5723 GB, free: 6.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6343, allocations: 4 kB / 0.5723 GB, free: 6.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003083/0.6346, allocations: 97.59 kB / 0.5724 GB, free: 6.551 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.6347, allocations: 8 kB / 0.5724 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6347, allocations: 0.7812 kB / 0.5724 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.6347, allocations: 0 / 0.5724 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.6349, allocations: 19.92 kB / 0.5724 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.6349, allocations: 8.031 kB / 0.5724 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.635, allocations: 7.953 kB / 0.5724 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.635, allocations: 4 kB / 0.5724 GB, free: 6.504 MB / 394.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.6352, allocations: 137.8 kB / 0.5725 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.6353, allocations: 15.81 kB / 0.5725 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.6357, allocations: 131.2 kB / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.6357, allocations: 4 kB / 0.5727 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6358, allocations: 4 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6358, allocations: 0 / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.6366, allocations: 439.1 kB / 0.5731 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.6367, allocations: 0 / 0.5731 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.6368, allocations: 8 kB / 0.5731 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.6368, allocations: 4 kB / 0.5731 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.6368, allocations: 0 / 0.5731 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.6368, allocations: 7.891 kB / 0.5731 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6368, allocations: 4.031 kB / 0.5731 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.6373, allocations: 229.8 kB / 0.5733 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.6374, allocations: 104.9 kB / 0.5734 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.6375, allocations: 3.953 kB / 0.5734 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6376, allocations: 4 kB / 0.5734 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.6377, allocations: 15.92 kB / 0.5735 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.6377, allocations: 4 kB / 0.5735 GB, free: 5.297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003143/0.6381, allocations: 196.2 kB / 0.5737 GB, free: 5.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6381, allocations: 0 / 0.5737 GB, free: 5.105 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00039/0.6385, allocations: 39.94 kB / 0.5737 GB, free: 5.066 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.6399, allocations: 485.8 kB / 0.5742 GB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.6403, allocations: 63.91 kB / 0.5742 GB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6403, allocations: 0 / 0.5742 GB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.6405, allocations: 27.98 kB / 0.5742 GB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.6409, allocations: 33.33 kB / 0.5743 GB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008501/0.6418, allocations: 343 kB / 0.5746 GB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.6422, allocations: 0.7311 MB / 0.5753 GB, free: 3.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.6423, allocations: 19.42 kB / 0.5753 GB, free: 3.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6423, allocations: 0 / 0.5753 GB, free: 3.43 MB / 394.7 MB Notification: Performance of Templates: time 0.00621/0.6485, allocations: 2.143 MB / 0.5774 GB, free: 1.293 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches