Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008734/0.0008735, allocations: 176.1 kB / 16.72 MB, free: 5.082 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.191/1.191, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0006591/0.0006591, allocations: 98.27 kB / 271.2 MB, free: 8.25 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.2824/0.2824, allocations: 43.56 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 16 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09635, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.001648/0.09803, allocations: 1.259 MB / 492.1 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.09911, allocations: 0.9027 MB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.09916, allocations: 0 / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.09934, allocations: 19.91 kB / 493 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.09948, allocations: 27.92 kB / 493 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.09971, allocations: 87.83 kB / 493.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.09984, allocations: 47.84 kB / 493.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.09994, allocations: 19.97 kB / 493.2 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.09998, allocations: 19.92 kB / 493.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1001, allocations: 19.86 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1001, allocations: 0 / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.1002, allocations: 47.97 kB / 493.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.1003, allocations: 11.92 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.1003, allocations: 41.58 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1004, allocations: 59.91 kB / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1004, allocations: 0 / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1004, allocations: 0 / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1004, allocations: 4 kB / 493.4 MB, free: 8.312 MB / 378.7 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.0003986/0.1008, allocations: 383.1 kB / 493.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1009, allocations: 8.031 kB / 493.8 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1009, allocations: 12.84 kB / 493.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.1011, allocations: 188.2 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.1011, allocations: 384 / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1011, allocations: 4.375 kB / 494 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1013, allocations: 71.47 kB / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1013, allocations: 0 / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1013, allocations: 0 / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1013, allocations: 0 / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.756e-05/0.1014, allocations: 31.97 kB / 494.1 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.1018, allocations: 284.9 kB / 494.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.102, allocations: 50.48 kB / 494.4 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.102, allocations: 16.94 kB / 494.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1021, allocations: 4 kB / 494.4 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1021, allocations: 38.5 kB / 494.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1021, allocations: 0 / 494.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005171/0.1026, allocations: 165.3 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.1027, allocations: 81.11 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1028, allocations: 133.8 kB / 494.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1028, allocations: 25.7 kB / 494.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.1029, allocations: 88.14 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1029, allocations: 19.73 kB / 494.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.1029, allocations: 0 / 494.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.103, allocations: 326.7 kB / 495.3 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.1031, allocations: 31.97 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.1032, allocations: 33.7 kB / 495.3 MB, free: 6.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1033, allocations: 64.8 kB / 495.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1033, allocations: 0 / 495.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001769/0.1035, allocations: 93.56 kB / 495.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1035, allocations: 8 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1036, allocations: 0 / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.1036, allocations: 4 kB / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.1036, allocations: 12 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1037, allocations: 3.984 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.1037, allocations: 4 kB / 495.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1037, allocations: 4.25 kB / 495.5 MB, free: 5.934 MB / 378.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.198e-05/0.1038, allocations: 121.8 kB / 495.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1038, allocations: 7.906 kB / 495.6 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.1041, allocations: 113.5 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1041, allocations: 0 / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1041, allocations: 0 / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1041, allocations: 0 / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.1045, allocations: 370.4 kB / 496.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1045, allocations: 0 / 496.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.1046, allocations: 15.98 kB / 496.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1046, allocations: 0 / 496.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.1046, allocations: 0 / 496.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1046, allocations: 3.938 kB / 496.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1046, allocations: 0 / 496.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1048, allocations: 195.4 kB / 496.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.1049, allocations: 81.02 kB / 496.4 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1049, allocations: 7.984 kB / 496.4 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.105, allocations: 11.94 kB / 496.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.105, allocations: 7.938 kB / 496.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.105, allocations: 4 kB / 496.4 MB, free: 4.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.1051, allocations: 107.8 kB / 496.5 MB, free: 4.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1051, allocations: 3.938 kB / 496.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.1053, allocations: 24 kB / 496.6 MB, free: 4.773 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0008152/0.1062, allocations: 437.5 kB / 497 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1064, allocations: 59.95 kB / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1064, allocations: 0 / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.1065, allocations: 35.92 kB / 497.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.1067, allocations: 19.92 kB / 497.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.1071, allocations: 198.6 kB / 497.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1073, allocations: 0.6965 MB / 498 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.1074, allocations: 11.44 kB / 498 MB, free: 3.316 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1074, allocations: 0 / 498 MB, free: 3.316 MB / 378.7 MB Notification: Performance of Templates: time 0.002737/0.1101, allocations: 1.571 MB / 499.6 MB, free: 1.746 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches