Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 182.4 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 1.997/1.997, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001011/0.001011, allocations: 82.66 kB / 267.5 MB, free: 14.04 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.2801/0.2801, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.734e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.5997, allocations: 86.65 MB / 0.5574 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.6, allocations: 76.55 kB / 0.5575 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.6168, allocations: 4.135 MB / 0.5615 GB, free: 13.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.128e-06/0.6168, allocations: 0 / 0.5615 GB, free: 13.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.6169, allocations: 11.92 kB / 0.5615 GB, free: 13.65 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.0004432/0.6173, allocations: 361.5 kB / 0.5619 GB, free: 13.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.6174, allocations: 8.031 kB / 0.5619 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.6174, allocations: 7.906 kB / 0.5619 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.6177, allocations: 191 kB / 0.5621 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.6178, allocations: 4 kB / 0.5621 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.6178, allocations: 4 kB / 0.5621 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.6179, allocations: 57.78 kB / 0.5621 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.618, allocations: 0 / 0.5621 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.618, allocations: 7.984 kB / 0.5621 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.618, allocations: 0 / 0.5621 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.6181, allocations: 15 kB / 0.5622 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.6186, allocations: 286.2 kB / 0.5624 GB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.6189, allocations: 40.89 kB / 0.5625 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.6189, allocations: 20.5 kB / 0.5625 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.619, allocations: 4 kB / 0.5625 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.619, allocations: 34.56 kB / 0.5625 GB, free: 12.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.619, allocations: 0 / 0.5625 GB, free: 12.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005181/0.6195, allocations: 114.7 kB / 0.5626 GB, free: 12.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.6196, allocations: 84.31 kB / 0.5627 GB, free: 12.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.6198, allocations: 120.9 kB / 0.5628 GB, free: 12.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.6198, allocations: 28.83 kB / 0.5629 GB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.6199, allocations: 162.4 kB / 0.563 GB, free: 12.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.62, allocations: 15.38 kB / 0.563 GB, free: 12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.62, allocations: 8 kB / 0.563 GB, free: 11.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6201, allocations: 310.8 kB / 0.5633 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.6202, allocations: 15.05 kB / 0.5633 GB, free: 11.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.6202, allocations: 24.59 kB / 0.5634 GB, free: 11.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.6203, allocations: 19.36 kB / 0.5634 GB, free: 11.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6203, allocations: 0 / 0.5634 GB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001549/0.6205, allocations: 63.56 kB / 0.5634 GB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6205, allocations: 8 kB / 0.5635 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6205, allocations: 4.031 kB / 0.5635 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.6206, allocations: 0 / 0.5635 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.6207, allocations: 15.98 kB / 0.5635 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6207, allocations: 0 / 0.5635 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.6208, allocations: 10.64 kB / 0.5635 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.6208, allocations: 7.938 kB / 0.5635 GB, free: 11.52 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 (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 8.116e-05/0.6209, allocations: 102.5 kB / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.621, allocations: 11.91 kB / 0.5636 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.6212, allocations: 81.95 kB / 0.5637 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.6212, allocations: 0 / 0.5637 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6213, allocations: 0 / 0.5637 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6213, allocations: 0 / 0.5637 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.6218, allocations: 343.9 kB / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6218, allocations: 0 / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.6219, allocations: 18.48 kB / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.6219, allocations: 4 kB / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.622, allocations: 0 / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.622, allocations: 0 / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.622, allocations: 7.938 kB / 0.564 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.6222, allocations: 156.4 kB / 0.5642 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.6223, allocations: 89 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.6223, allocations: 2.938 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.6224, allocations: 8 kB / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.6225, allocations: 11.98 kB / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.6225, allocations: 3.953 kB / 0.5643 GB, free: 10.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.6226, allocations: 118.9 kB / 0.5644 GB, free: 10.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6227, allocations: 0 / 0.5644 GB, free: 10.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003698/0.623, allocations: 20 kB / 0.5644 GB, free: 10.53 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 (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.001172/0.6242, allocations: 408.2 kB / 0.5648 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.6244, allocations: 31.73 kB / 0.5648 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6244, allocations: 0 / 0.5648 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.546e-05/0.6245, allocations: 23.19 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.6248, allocations: 14.42 kB / 0.5649 GB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.6252, allocations: 137.7 kB / 0.565 GB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.6256, allocations: 0.6926 MB / 0.5657 GB, free: 9.262 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/0.6256, allocations: 19.36 kB / 0.5657 GB, free: 9.242 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6257, allocations: 0 / 0.5657 GB, free: 9.242 MB / 378.7 MB Notification: Performance of Templates: time 0.004999/0.6307, allocations: 1.603 MB / 0.5673 GB, free: 7.645 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches