Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002167/0.002167, allocations: 180.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001086/0.001086, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2837/0.2837, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.183e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 58.84 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.6176, allocations: 87.33 MB / 0.5581 GB, free: 352 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.6179, allocations: 79.02 kB / 0.5581 GB, free: 312 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01749/0.6354, allocations: 4.036 MB / 0.5621 GB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6354, allocations: 0 / 0.5621 GB, free: 12.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.6354, allocations: 4 kB / 0.5621 GB, free: 12.85 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006905/0.6362, allocations: 413.9 kB / 0.5625 GB, free: 12.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.6362, allocations: 8.031 kB / 0.5625 GB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.6363, allocations: 15.86 kB / 0.5625 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.6366, allocations: 201.1 kB / 0.5627 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.6366, allocations: 0 / 0.5627 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.6366, allocations: 7.984 kB / 0.5627 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.6369, allocations: 70.47 kB / 0.5628 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.6369, allocations: 4 kB / 0.5628 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.6369, allocations: 7.938 kB / 0.5628 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6369, allocations: 0 / 0.5628 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.6371, allocations: 35.38 kB / 0.5628 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/0.6379, allocations: 339.6 kB / 0.5631 GB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.638, allocations: 61.94 kB / 0.5632 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.6381, allocations: 24.48 kB / 0.5632 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.6382, allocations: 0 / 0.5632 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6382, allocations: 34.52 kB / 0.5633 GB, free: 11.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.6382, allocations: 4 kB / 0.5633 GB, free: 11.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001238/0.6395, allocations: 243.9 kB / 0.5635 GB, free: 11.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.6396, allocations: 77.11 kB / 0.5636 GB, free: 11.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.6398, allocations: 134.5 kB / 0.5637 GB, free: 11.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.6398, allocations: 29.7 kB / 0.5637 GB, free: 11.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.6399, allocations: 161.1 kB / 0.5639 GB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.6399, allocations: 23.16 kB / 0.5639 GB, free: 10.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.64, allocations: 3.938 kB / 0.5639 GB, free: 10.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6401, allocations: 318.8 kB / 0.5642 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.6402, allocations: 25.69 kB / 0.5642 GB, free: 10.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.6403, allocations: 43.58 kB / 0.5643 GB, free: 10.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.6404, allocations: 25.42 kB / 0.5643 GB, free: 10.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6405, allocations: 0 / 0.5643 GB, free: 10.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002706/0.6407, allocations: 99.75 kB / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6408, allocations: 4 kB / 0.5644 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6408, allocations: 3.984 kB / 0.5644 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6408, allocations: 4 kB / 0.5644 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.6412, allocations: 44 kB / 0.5644 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6412, allocations: 4.062 kB / 0.5645 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.6416, allocations: 47.8 kB / 0.5645 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.6416, allocations: 0 / 0.5645 GB, free: 10.35 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.699e-05/0.6417, allocations: 105 kB / 0.5646 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.6418, allocations: 15.8 kB / 0.5646 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.6421, allocations: 123.6 kB / 0.5647 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6422, allocations: 0 / 0.5647 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6422, allocations: 0 / 0.5647 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6422, allocations: 7.938 kB / 0.5647 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007118/0.6429, allocations: 405.4 kB / 0.5651 GB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6429, allocations: 0 / 0.5651 GB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.6433, allocations: 47.52 kB / 0.5652 GB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.6434, allocations: 7.938 kB / 0.5652 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.6434, allocations: 0 / 0.5652 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.6434, allocations: 4 kB / 0.5652 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6434, allocations: 0 / 0.5652 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.6438, allocations: 195 kB / 0.5654 GB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.6439, allocations: 92.95 kB / 0.5655 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.6439, allocations: 11.81 kB / 0.5655 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.6443, allocations: 35.95 kB / 0.5655 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.6444, allocations: 10.98 kB / 0.5655 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.6444, allocations: 4 kB / 0.5655 GB, free: 9.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.6446, allocations: 114.7 kB / 0.5656 GB, free: 9.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6446, allocations: 0 / 0.5656 GB, free: 9.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003953/0.645, allocations: 43.34 kB / 0.5657 GB, free: 9.168 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001283/0.6463, allocations: 417 kB / 0.5661 GB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.6467, allocations: 76.86 kB / 0.5661 GB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6467, allocations: 0 / 0.5661 GB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.6468, allocations: 46.28 kB / 0.5662 GB, free: 8.727 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.6472, allocations: 21.61 kB / 0.5662 GB, free: 8.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.6477, allocations: 171.6 kB / 0.5664 GB, free: 8.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.6481, allocations: 0.7043 MB / 0.5671 GB, free: 7.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.6482, allocations: 23.36 kB / 0.5671 GB, free: 7.785 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6482, allocations: 0 / 0.5671 GB, free: 7.785 MB / 378.7 MB Notification: Performance of Templates: time 0.006233/0.6545, allocations: 2.216 MB / 0.5692 GB, free: 5.578 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches