Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002247/0.002246, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.00108, allocations: 88.83 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2916/0.2916, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.978e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4123, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/0.5889, allocations: 86.31 MB / 0.5502 GB, free: 13 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.5892, allocations: 67.97 kB / 0.5503 GB, free: 12.93 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0297/0.6189, allocations: 7.853 MB / 0.5579 GB, free: 5.059 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.619, allocations: 0 / 0.5579 GB, free: 5.059 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.619, allocations: 4 kB / 0.5579 GB, free: 5.055 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007729/0.6198, allocations: 0.5559 MB / 0.5585 GB, free: 4.453 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.6199, allocations: 12.03 kB / 0.5585 GB, free: 4.441 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.62, allocations: 43.39 kB / 0.5585 GB, free: 4.398 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.6207, allocations: 327.9 kB / 0.5588 GB, free: 4.039 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6207, allocations: 3.984 kB / 0.5588 GB, free: 4.035 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.6208, allocations: 4 kB / 0.5588 GB, free: 4.031 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.946e-05/0.6209, allocations: 15.98 kB / 0.5589 GB, free: 4.016 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.621, allocations: 46.08 kB / 0.5589 GB, free: 3.965 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.621, allocations: 15.86 kB / 0.5589 GB, free: 3.949 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.6211, allocations: 0 / 0.5589 GB, free: 3.949 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.6211, allocations: 7.953 kB / 0.5589 GB, free: 3.941 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.622, allocations: 417.4 kB / 0.5593 GB, free: 3.496 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.6221, allocations: 30.58 kB / 0.5594 GB, free: 3.457 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.6222, allocations: 20.94 kB / 0.5594 GB, free: 3.434 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.6222, allocations: 0 / 0.5594 GB, free: 3.434 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.6223, allocations: 34.56 kB / 0.5594 GB, free: 3.391 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 5.51e-06/0.6223, allocations: 0 / 0.5594 GB, free: 3.391 MB / 395.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002745/0.6226, allocations: 97.02 kB / 0.5595 GB, free: 3.289 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.6226, allocations: 51.41 kB / 0.5595 GB, free: 3.227 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.6244, allocations: 0.7512 MB / 0.5603 GB, free: 2.469 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.6245, allocations: 29.7 kB / 0.5603 GB, free: 2.434 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.6247, allocations: 234.6 kB / 0.5605 GB, free: 2.203 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.6247, allocations: 11.83 kB / 0.5605 GB, free: 2.191 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.6248, allocations: 0 / 0.5605 GB, free: 2.191 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6249, allocations: 314.8 kB / 0.5608 GB, free: 1.875 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.625, allocations: 12 kB / 0.5609 GB, free: 1.863 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.625, allocations: 8 kB / 0.5609 GB, free: 1.855 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.6251, allocations: 7.984 kB / 0.5609 GB, free: 1.848 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6251, allocations: 0 / 0.5609 GB, free: 1.848 MB / 395.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001436/0.6253, allocations: 61.62 kB / 0.5609 GB, free: 1.781 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6253, allocations: 4 kB / 0.5609 GB, free: 1.777 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6253, allocations: 0 / 0.5609 GB, free: 1.777 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6253, allocations: 0 / 0.5609 GB, free: 1.777 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.6255, allocations: 15.98 kB / 0.5609 GB, free: 1.762 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.6255, allocations: 3.953 kB / 0.561 GB, free: 1.758 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.6257, allocations: 7.906 kB / 0.561 GB, free: 1.75 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.6257, allocations: 0 / 0.561 GB, free: 1.75 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.178e-05/0.6258, allocations: 109 kB / 0.5611 GB, free: 1.637 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.6259, allocations: 35.53 kB / 0.5611 GB, free: 1.602 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.6262, allocations: 113.3 kB / 0.5612 GB, free: 1.473 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6262, allocations: 0 / 0.5612 GB, free: 1.473 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6262, allocations: 0 / 0.5612 GB, free: 1.473 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6262, allocations: 3.953 kB / 0.5612 GB, free: 1.469 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.6267, allocations: 306 kB / 0.5615 GB, free: 1.133 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6267, allocations: 3.938 kB / 0.5615 GB, free: 1.129 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.6268, allocations: 15.92 kB / 0.5615 GB, free: 1.113 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.6269, allocations: 8.234 kB / 0.5615 GB, free: 1.105 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.6269, allocations: 0 / 0.5615 GB, free: 1.105 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6269, allocations: 0 / 0.5615 GB, free: 1.105 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6269, allocations: 0 / 0.5615 GB, free: 1.105 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.6272, allocations: 194.9 kB / 0.5617 GB, free: 0.8984 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.6275, allocations: 160.5 kB / 0.5619 GB, free: 0.7227 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.6276, allocations: 4 kB / 0.5619 GB, free: 0.7188 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.6278, allocations: 11.98 kB / 0.5619 GB, free: 0.707 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.6278, allocations: 0 / 0.5619 GB, free: 0.707 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6278, allocations: 4 kB / 0.5619 GB, free: 0.7031 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.6289, allocations: 0.6082 MB / 0.5625 GB, free: 100 kB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6289, allocations: 0 / 0.5625 GB, free: 100 kB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.6293, allocations: 48 kB / 0.5625 GB, free: 52 kB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0009357/0.6303, allocations: 292.3 kB / 0.5628 GB, free: 15.8 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.6304, allocations: 27.94 kB / 0.5628 GB, free: 15.77 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6305, allocations: 0 / 0.5628 GB, free: 15.77 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.6305, allocations: 15.98 kB / 0.5628 GB, free: 15.76 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.6309, allocations: 29.89 kB / 0.5629 GB, free: 15.73 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.6327, allocations: 0.7512 MB / 0.5636 GB, free: 14.95 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.6333, allocations: 0.8341 MB / 0.5644 GB, free: 14.09 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.6335, allocations: 19.44 kB / 0.5644 GB, free: 14.07 MB / 411.1 MB Notification: Performance of SimCode: time 3.246e-06/0.6335, allocations: 0 / 0.5644 GB, free: 14.07 MB / 411.1 MB Notification: Performance of Templates: time 0.01183/0.6453, allocations: 4.089 MB / 0.5684 GB, free: 9.969 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches