Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001473, allocations: 187.1 kB / 16.41 MB, free: 5.723 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.944/1.944, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001119/0.001119, allocations: 84.44 kB / 270.9 MB, free: 8.379 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.5022/0.5022, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004808, allocations: 20 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.13, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.6029, allocations: 87.54 MB / 0.5642 GB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.6033, allocations: 83.89 kB / 0.5643 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02393/0.6272, allocations: 5.547 MB / 0.5697 GB, free: 9.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6273, allocations: 4 kB / 0.5697 GB, free: 9.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.6273, allocations: 0 / 0.5697 GB, free: 9.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007426/0.628, allocations: 445.6 kB / 0.5702 GB, free: 9.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6281, allocations: 8.031 kB / 0.5702 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.6282, allocations: 11.81 kB / 0.5702 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.6286, allocations: 232.3 kB / 0.5704 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.6286, allocations: 0 / 0.5704 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.6287, allocations: 4 kB / 0.5704 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.6289, allocations: 49.67 kB / 0.5704 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6289, allocations: 3.984 kB / 0.5704 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.6289, allocations: 4 kB / 0.5705 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.6289, allocations: 3.984 kB / 0.5705 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.629, allocations: 20.97 kB / 0.5705 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.6293, allocations: 189.6 kB / 0.5707 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.6295, allocations: 62.61 kB / 0.5707 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.6296, allocations: 0 / 0.5707 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.6298, allocations: 63.48 kB / 0.5708 GB, free: 8.359 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.6298, allocations: 0 / 0.5708 GB, free: 8.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004062/0.6302, allocations: 105.4 kB / 0.5709 GB, free: 8.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.6303, allocations: 55.41 kB / 0.5709 GB, free: 8.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.6307, allocations: 229.7 kB / 0.5711 GB, free: 7.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.6307, allocations: 33.69 kB / 0.5712 GB, free: 7.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/0.6308, allocations: 170.6 kB / 0.5713 GB, free: 7.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.6308, allocations: 7.906 kB / 0.5714 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.6309, allocations: 3.938 kB / 0.5714 GB, free: 7.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.631, allocations: 314.8 kB / 0.5717 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.6311, allocations: 15.98 kB / 0.5717 GB, free: 7.398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.6312, allocations: 29.7 kB / 0.5717 GB, free: 7.363 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/0.6313, allocations: 20 kB / 0.5717 GB, free: 7.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.6313, allocations: 3.953 kB / 0.5717 GB, free: 7.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000238/0.6315, allocations: 81.83 kB / 0.5718 GB, free: 7.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.6316, allocations: 8 kB / 0.5718 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.6316, allocations: 4 kB / 0.5718 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.6316, allocations: 0 / 0.5718 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.6318, allocations: 8 kB / 0.5718 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.6318, allocations: 11.88 kB / 0.5718 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.6319, allocations: 4.031 kB / 0.5718 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.6319, allocations: 4 kB / 0.5718 GB, free: 7.215 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 (7): * Single equations (assignments): 7 * 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.0001535/0.6321, allocations: 141.8 kB / 0.572 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.6321, allocations: 15.77 kB / 0.572 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.6324, allocations: 94.67 kB / 0.5721 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.6325, allocations: 0 / 0.5721 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6325, allocations: 0 / 0.5721 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6325, allocations: 3.984 kB / 0.5721 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.6327, allocations: 209.5 kB / 0.5723 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6327, allocations: 4 kB / 0.5723 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.6328, allocations: 11.89 kB / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.6328, allocations: 0 / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.6328, allocations: 0 / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6328, allocations: 4 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6329, allocations: 0 / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.6331, allocations: 112.9 kB / 0.5724 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.6333, allocations: 104.9 kB / 0.5725 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.6333, allocations: 7.953 kB / 0.5725 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.6334, allocations: 4 kB / 0.5725 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.6334, allocations: 3.984 kB / 0.5725 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.6335, allocations: 4 kB / 0.5725 GB, free: 6.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002845/0.6338, allocations: 200.2 kB / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6338, allocations: 0 / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.6341, allocations: 27.94 kB / 0.5727 GB, free: 6.188 MB / 394.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 (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.001192/0.6353, allocations: 427.5 kB / 0.5732 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.6356, allocations: 43.97 kB / 0.5732 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.6356, allocations: 4 kB / 0.5732 GB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.6358, allocations: 19.94 kB / 0.5732 GB, free: 5.797 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.6362, allocations: 29.33 kB / 0.5732 GB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.6369, allocations: 318.1 kB / 0.5735 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.6373, allocations: 0.716 MB / 0.5742 GB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.6373, allocations: 19.44 kB / 0.5743 GB, free: 4.668 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6374, allocations: 4 kB / 0.5743 GB, free: 4.664 MB / 394.7 MB Notification: Performance of Templates: time 0.005447/0.6428, allocations: 1.919 MB / 0.5761 GB, free: 2.75 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches