Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009501/0.0009501, allocations: 192.5 kB / 16.78 MB, free: 4.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.5 MB / 244.1 MB, free: 6.438 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007887/0.0007887, allocations: 94.2 kB / 296.1 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3121/0.3121, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002715, allocations: 11.98 kB / 465.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2785, allocations: 62.95 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.3789, allocations: 89.68 MB / 0.604 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.3792, allocations: 79.95 kB / 0.6041 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01293/0.3921, allocations: 5.484 MB / 0.6095 GB, free: 10.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3921, allocations: 0 / 0.6095 GB, free: 10.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3921, allocations: 4 kB / 0.6095 GB, free: 10.09 MB / 426.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.0003697/0.3925, allocations: 403.5 kB / 0.6099 GB, free: 9.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3926, allocations: 8.031 kB / 0.6099 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.3926, allocations: 12.81 kB / 0.6099 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3928, allocations: 205.5 kB / 0.6101 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3928, allocations: 4.375 kB / 0.6101 GB, free: 9.383 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3929, allocations: 384 / 0.6101 GB, free: 9.383 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.393, allocations: 67.95 kB / 0.6102 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.393, allocations: 192 / 0.6102 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.393, allocations: 3.938 kB / 0.6102 GB, free: 9.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.393, allocations: 0 / 0.6102 GB, free: 9.301 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.3931, allocations: 35.92 kB / 0.6102 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.3935, allocations: 277 kB / 0.6105 GB, free: 8.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.3937, allocations: 54.48 kB / 0.6105 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.3937, allocations: 16.86 kB / 0.6105 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.3938, allocations: 4 kB / 0.6105 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.3938, allocations: 38.5 kB / 0.6106 GB, free: 8.812 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.3938, allocations: 0 / 0.6106 GB, free: 8.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005112/0.3943, allocations: 161.4 kB / 0.6107 GB, free: 8.648 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.3944, allocations: 81.05 kB / 0.6108 GB, free: 8.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3945, allocations: 149 kB / 0.6109 GB, free: 8.398 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.3945, allocations: 25.7 kB / 0.611 GB, free: 8.367 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.3946, allocations: 100 kB / 0.6111 GB, free: 8.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3946, allocations: 11.75 kB / 0.6111 GB, free: 8.254 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.3946, allocations: 4 kB / 0.6111 GB, free: 8.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3947, allocations: 328 kB / 0.6114 GB, free: 7.922 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.3948, allocations: 23.98 kB / 0.6114 GB, free: 7.898 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.3949, allocations: 37.69 kB / 0.6114 GB, free: 7.855 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.395, allocations: 60.86 kB / 0.6115 GB, free: 7.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.395, allocations: 4 kB / 0.6115 GB, free: 7.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001763/0.3952, allocations: 97.52 kB / 0.6116 GB, free: 7.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3952, allocations: 4 kB / 0.6116 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3952, allocations: 0 / 0.6116 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.3952, allocations: 0 / 0.6116 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.3953, allocations: 15.98 kB / 0.6116 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3953, allocations: 0 / 0.6116 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.3954, allocations: 12.23 kB / 0.6116 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.3954, allocations: 11.94 kB / 0.6116 GB, free: 7.645 MB / 426.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 7.584e-05/0.3955, allocations: 121.8 kB / 0.6118 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.3955, allocations: 7.906 kB / 0.6118 GB, free: 7.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.3957, allocations: 102.2 kB / 0.6119 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3958, allocations: 3.984 kB / 0.6119 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3958, allocations: 7.984 kB / 0.6119 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3958, allocations: 4 kB / 0.6119 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.3962, allocations: 366.5 kB / 0.6122 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3962, allocations: 3.938 kB / 0.6122 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.3963, allocations: 12 kB / 0.6122 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3963, allocations: 4 kB / 0.6122 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3963, allocations: 0 / 0.6122 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3963, allocations: 0 / 0.6122 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3963, allocations: 3.938 kB / 0.6123 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.3965, allocations: 195.4 kB / 0.6124 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.3966, allocations: 97 kB / 0.6125 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3966, allocations: 0 / 0.6125 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.3967, allocations: 7.984 kB / 0.6125 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.3968, allocations: 7.938 kB / 0.6125 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3968, allocations: 0 / 0.6125 GB, free: 6.613 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.078e-05/0.3969, allocations: 115.2 kB / 0.6127 GB, free: 6.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3969, allocations: 0 / 0.6127 GB, free: 6.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000282/0.3972, allocations: 47.88 kB / 0.6127 GB, free: 6.453 MB / 426.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.001076/0.3982, allocations: 0.4993 MB / 0.6132 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.3985, allocations: 55.91 kB / 0.6132 GB, free: 6.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3985, allocations: 0 / 0.6132 GB, free: 6.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.3986, allocations: 39.91 kB / 0.6133 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.3989, allocations: 15.98 kB / 0.6133 GB, free: 6.004 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.3993, allocations: 213.9 kB / 0.6135 GB, free: 5.766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.3995, allocations: 0.6926 MB / 0.6142 GB, free: 5.047 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.3996, allocations: 23.42 kB / 0.6142 GB, free: 5.023 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3996, allocations: 0 / 0.6142 GB, free: 5.023 MB / 426.7 MB Notification: Performance of Templates: time 0.003215/0.4028, allocations: 1.94 MB / 0.6161 GB, free: 3.086 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches