Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.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.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, 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.099/2.099, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.00108/0.00108, allocations: 81.03 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.3307/0.3307, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.38e-05, allocations: 8.203 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4284, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.5892, allocations: 86.08 MB / 0.55 GB, free: 13.24 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5896, allocations: 71.95 kB / 0.55 GB, free: 13.17 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.6079, allocations: 4.294 MB / 0.5542 GB, free: 8.875 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.608, allocations: 0 / 0.5542 GB, free: 8.875 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.608, allocations: 4 kB / 0.5542 GB, free: 8.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005573/0.6086, allocations: 401.6 kB / 0.5546 GB, free: 8.438 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.6087, allocations: 12.03 kB / 0.5546 GB, free: 8.426 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.6087, allocations: 11.86 kB / 0.5546 GB, free: 8.414 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.6091, allocations: 199.5 kB / 0.5548 GB, free: 8.176 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.6091, allocations: 0 / 0.5548 GB, free: 8.176 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.6091, allocations: 4 kB / 0.5548 GB, free: 8.172 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.779e-05/0.6092, allocations: 16 kB / 0.5548 GB, free: 8.156 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.6094, allocations: 49.67 kB / 0.5549 GB, free: 8.102 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.6094, allocations: 3.938 kB / 0.5549 GB, free: 8.098 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6094, allocations: 0 / 0.5549 GB, free: 8.098 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.6094, allocations: 0 / 0.5549 GB, free: 8.098 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.6099, allocations: 277.3 kB / 0.5552 GB, free: 7.789 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.61, allocations: 38.56 kB / 0.5552 GB, free: 7.742 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.6101, allocations: 8.859 kB / 0.5552 GB, free: 7.73 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.6101, allocations: 4 kB / 0.5552 GB, free: 7.727 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.6101, allocations: 38.56 kB / 0.5552 GB, free: 7.68 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.6102, allocations: 0 / 0.5552 GB, free: 7.68 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006425/0.6108, allocations: 141.2 kB / 0.5554 GB, free: 7.535 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.6109, allocations: 51.41 kB / 0.5554 GB, free: 7.473 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.6112, allocations: 186.5 kB / 0.5556 GB, free: 7.277 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.6112, allocations: 25.7 kB / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.6113, allocations: 170.6 kB / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.6113, allocations: 23.64 kB / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.6114, allocations: 0 / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6115, allocations: 319.4 kB / 0.5561 GB, free: 6.734 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.6116, allocations: 11.94 kB / 0.5561 GB, free: 6.723 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.6116, allocations: 20.06 kB / 0.5562 GB, free: 6.703 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.713e-05/0.6117, allocations: 16.06 kB / 0.5562 GB, free: 6.688 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.6117, allocations: 0 / 0.5562 GB, free: 6.688 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001676/0.6119, allocations: 73.61 kB / 0.5562 GB, free: 6.609 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6119, allocations: 12 kB / 0.5563 GB, free: 6.598 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.6119, allocations: 0 / 0.5563 GB, free: 6.598 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.612, allocations: 0 / 0.5563 GB, free: 6.598 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.6122, allocations: 27.92 kB / 0.5563 GB, free: 6.57 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.6122, allocations: 7.953 kB / 0.5563 GB, free: 6.562 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.6123, allocations: 11.98 kB / 0.5563 GB, free: 6.551 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.6124, allocations: 4 kB / 0.5563 GB, free: 6.547 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 (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 8.599e-05/0.6125, allocations: 108.9 kB / 0.5564 GB, free: 6.434 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.6125, allocations: 11.81 kB / 0.5564 GB, free: 6.422 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.6128, allocations: 83.52 kB / 0.5565 GB, free: 6.34 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.6128, allocations: 4 kB / 0.5565 GB, free: 6.336 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6128, allocations: 0 / 0.5565 GB, free: 6.336 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6128, allocations: 3.953 kB / 0.5565 GB, free: 6.332 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.6134, allocations: 343 kB / 0.5568 GB, free: 5.953 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6134, allocations: 4 kB / 0.5568 GB, free: 5.949 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.6136, allocations: 27.97 kB / 0.5569 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6136, allocations: 0 / 0.5569 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6136, allocations: 0 / 0.5569 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.6136, allocations: 0 / 0.5569 GB, free: 5.922 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.6136, allocations: 3.953 kB / 0.5569 GB, free: 5.918 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.6139, allocations: 179.4 kB / 0.557 GB, free: 5.727 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.614, allocations: 89 kB / 0.5571 GB, free: 5.621 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.614, allocations: 0 / 0.5571 GB, free: 5.621 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.6142, allocations: 15.98 kB / 0.5571 GB, free: 5.605 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.6143, allocations: 11.95 kB / 0.5571 GB, free: 5.594 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.6143, allocations: 0 / 0.5571 GB, free: 5.594 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.6145, allocations: 156.8 kB / 0.5573 GB, free: 5.441 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6145, allocations: 0 / 0.5573 GB, free: 5.441 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003717/0.6149, allocations: 31.94 kB / 0.5573 GB, free: 5.41 MB / 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 (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 Backend phase and start with SimCode phase: time 0.0009943/0.6159, allocations: 339.3 kB / 0.5577 GB, free: 5.113 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.6161, allocations: 36 kB / 0.5577 GB, free: 5.078 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6161, allocations: 4 kB / 0.5577 GB, free: 5.074 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.6162, allocations: 20.09 kB / 0.5577 GB, free: 5.055 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.6165, allocations: 31.42 kB / 0.5577 GB, free: 5.027 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.617, allocations: 198.2 kB / 0.5579 GB, free: 4.805 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.6174, allocations: 0.7119 MB / 0.5586 GB, free: 4.066 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.6175, allocations: 19.42 kB / 0.5586 GB, free: 4.047 MB / 395.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6175, allocations: 0 / 0.5586 GB, free: 4.047 MB / 395.1 MB Notification: Performance of Templates: time 0.005082/0.6226, allocations: 1.743 MB / 0.5603 GB, free: 2.309 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches