Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001866/0.001866, allocations: 181.1 kB / 17.41 MB, free: 4.289 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.466/1.466, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008775/0.0008775, allocations: 78.44 kB / 271.9 MB, free: 8.266 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.3735/0.3735, allocations: 43.56 MB / 363.8 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 20 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4986, allocations: 87.8 MB / 0.5657 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4989, allocations: 82.27 kB / 0.5658 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.5141, allocations: 5.857 MB / 0.5715 GB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5142, allocations: 0 / 0.5715 GB, free: 8.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.5142, allocations: 11.94 kB / 0.5715 GB, free: 8.723 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000676/0.5149, allocations: 466.8 kB / 0.5719 GB, free: 8.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.5149, allocations: 8.031 kB / 0.5719 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.515, allocations: 18.62 kB / 0.572 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.5154, allocations: 261.8 kB / 0.5722 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.5154, allocations: 4.375 kB / 0.5722 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.5155, allocations: 4.375 kB / 0.5722 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.5157, allocations: 97.64 kB / 0.5723 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.5157, allocations: 192 / 0.5723 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.5157, allocations: 7.938 kB / 0.5723 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5157, allocations: 7.938 kB / 0.5723 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.5158, allocations: 31.97 kB / 0.5724 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.5161, allocations: 226.4 kB / 0.5726 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.5164, allocations: 105.2 kB / 0.5727 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.285e-05/0.5165, allocations: 45.7 kB / 0.5727 GB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.5165, allocations: 0 / 0.5727 GB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.5167, allocations: 113 kB / 0.5728 GB, free: 7.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.5168, allocations: 2.25 kB / 0.5728 GB, free: 7.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004699/0.5172, allocations: 177.3 kB / 0.573 GB, free: 6.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.5173, allocations: 136.5 kB / 0.5731 GB, free: 6.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.5176, allocations: 215.8 kB / 0.5733 GB, free: 6.594 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.5176, allocations: 25.7 kB / 0.5734 GB, free: 6.562 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.5177, allocations: 116.1 kB / 0.5735 GB, free: 6.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.5177, allocations: 23.7 kB / 0.5735 GB, free: 6.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.5178, allocations: 0 / 0.5735 GB, free: 6.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5179, allocations: 330.8 kB / 0.5738 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.227e-05/0.518, allocations: 31.97 kB / 0.5738 GB, free: 6.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.5181, allocations: 69.14 kB / 0.5739 GB, free: 5.973 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.5183, allocations: 95.38 kB / 0.574 GB, free: 5.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5183, allocations: 3.938 kB / 0.574 GB, free: 5.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000263/0.5186, allocations: 137.4 kB / 0.5741 GB, free: 5.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5186, allocations: 11.88 kB / 0.5741 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5186, allocations: 4 kB / 0.5741 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5186, allocations: 0 / 0.5741 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.5187, allocations: 24.61 kB / 0.5742 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.5187, allocations: 0 / 0.5742 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.5188, allocations: 19.91 kB / 0.5742 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.5188, allocations: 4 kB / 0.5742 GB, free: 5.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001096/0.519, allocations: 137.8 kB / 0.5743 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.519, allocations: 19.75 kB / 0.5743 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.5193, allocations: 162.6 kB / 0.5745 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.5194, allocations: 7.938 kB / 0.5745 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5194, allocations: 4 kB / 0.5745 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5194, allocations: 0 / 0.5745 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.5196, allocations: 225.5 kB / 0.5747 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5196, allocations: 0 / 0.5747 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.5197, allocations: 11.98 kB / 0.5747 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.5197, allocations: 7.938 kB / 0.5747 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.5197, allocations: 7.984 kB / 0.5747 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5197, allocations: 0 / 0.5747 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5197, allocations: 4 kB / 0.5747 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.52, allocations: 186.2 kB / 0.5749 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.5201, allocations: 100.9 kB / 0.575 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.5202, allocations: 7.938 kB / 0.575 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.5203, allocations: 11.98 kB / 0.575 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.5203, allocations: 7.984 kB / 0.575 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.5203, allocations: 4 kB / 0.5751 GB, free: 4.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.5205, allocations: 169.5 kB / 0.5752 GB, free: 4.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5205, allocations: 4 kB / 0.5752 GB, free: 4.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.5208, allocations: 40 kB / 0.5753 GB, free: 4.465 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001001/0.5218, allocations: 457.2 kB / 0.5757 GB, free: 4.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.522, allocations: 91.95 kB / 0.5758 GB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.522, allocations: 0 / 0.5758 GB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.5222, allocations: 51.91 kB / 0.5758 GB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.5225, allocations: 50.42 kB / 0.5759 GB, free: 3.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.5231, allocations: 327 kB / 0.5762 GB, free: 3.578 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.5235, allocations: 0.7244 MB / 0.5769 GB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.5235, allocations: 27.36 kB / 0.5769 GB, free: 2.801 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.5236, allocations: 0 / 0.5769 GB, free: 2.801 MB / 394.7 MB Notification: Performance of Templates: time 0.004635/0.5282, allocations: 2.699 MB / 0.5796 GB, free: 112 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches