Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009501/0.0009503, allocations: 195 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 226.5 MB / 244.1 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007737/0.0007737, allocations: 102.5 kB / 296.1 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2892/0.2892, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002791, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.339, allocations: 62.96 MB / 0.5165 GB, free: 37.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.4586, allocations: 89.57 MB / 0.6039 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4589, allocations: 79.95 kB / 0.604 GB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0144/0.4733, allocations: 5.468 MB / 0.6094 GB, free: 10.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4733, allocations: 0 / 0.6094 GB, free: 10.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.4734, allocations: 8 kB / 0.6094 GB, free: 10.25 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.0005143/0.4739, allocations: 395.5 kB / 0.6097 GB, free: 9.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4739, allocations: 12.03 kB / 0.6098 GB, free: 9.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.474, allocations: 4.938 kB / 0.6098 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.4743, allocations: 208 kB / 0.61 GB, free: 9.559 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4743, allocations: 4.375 kB / 0.61 GB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.4743, allocations: 4.375 kB / 0.61 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.4745, allocations: 59.95 kB / 0.61 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4745, allocations: 192 / 0.61 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4745, allocations: 7.938 kB / 0.61 GB, free: 9.473 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.4745, allocations: 8 kB / 0.61 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.984e-05/0.4746, allocations: 23.98 kB / 0.6101 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.475, allocations: 272.9 kB / 0.6103 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.4753, allocations: 54.48 kB / 0.6104 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.4753, allocations: 16.86 kB / 0.6104 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4753, allocations: 0 / 0.6104 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.4754, allocations: 38.64 kB / 0.6104 GB, free: 8.996 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4754, allocations: 0 / 0.6104 GB, free: 8.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005607/0.476, allocations: 153.3 kB / 0.6106 GB, free: 8.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.476, allocations: 77.11 kB / 0.6106 GB, free: 8.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.4762, allocations: 145 kB / 0.6108 GB, free: 8.598 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4762, allocations: 33.7 kB / 0.6108 GB, free: 8.559 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.4763, allocations: 96.05 kB / 0.6109 GB, free: 8.461 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.4763, allocations: 23.67 kB / 0.6109 GB, free: 8.438 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.4763, allocations: 0 / 0.6109 GB, free: 8.438 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4765, allocations: 320 kB / 0.6112 GB, free: 8.117 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.4765, allocations: 23.98 kB / 0.6113 GB, free: 8.094 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.4766, allocations: 41.69 kB / 0.6113 GB, free: 8.047 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.4768, allocations: 44.84 kB / 0.6113 GB, free: 8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.4768, allocations: 0 / 0.6113 GB, free: 8 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001982/0.477, allocations: 97.59 kB / 0.6114 GB, free: 7.898 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.477, allocations: 4 kB / 0.6114 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.477, allocations: 0 / 0.6114 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.477, allocations: 0 / 0.6114 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.4771, allocations: 15.94 kB / 0.6115 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.4771, allocations: 3.984 kB / 0.6115 GB, free: 7.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.4772, allocations: 16.19 kB / 0.6115 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4772, allocations: 4 kB / 0.6115 GB, free: 7.855 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 8.344e-05/0.4773, allocations: 117.8 kB / 0.6116 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.4773, allocations: 11.84 kB / 0.6116 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.4776, allocations: 93.97 kB / 0.6117 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4776, allocations: 8 kB / 0.6117 GB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4776, allocations: 3.984 kB / 0.6117 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4776, allocations: 0 / 0.6117 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.4781, allocations: 362.4 kB / 0.612 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4781, allocations: 0 / 0.612 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.4781, allocations: 19.98 kB / 0.6121 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4781, allocations: 0 / 0.6121 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.4782, allocations: 0 / 0.6121 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4782, allocations: 0 / 0.6121 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4782, allocations: 3.938 kB / 0.6121 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.4784, allocations: 187.4 kB / 0.6122 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.4785, allocations: 93 kB / 0.6123 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4785, allocations: 0 / 0.6123 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.4786, allocations: 7.984 kB / 0.6123 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.4787, allocations: 7.938 kB / 0.6123 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.4787, allocations: 0 / 0.6123 GB, free: 6.852 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.4788, allocations: 119.2 kB / 0.6125 GB, free: 6.734 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4788, allocations: 4 kB / 0.6125 GB, free: 6.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003124/0.4791, allocations: 47.88 kB / 0.6125 GB, free: 6.684 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.00115/0.4803, allocations: 0.4955 MB / 0.613 GB, free: 6.348 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.4805, allocations: 55.91 kB / 0.613 GB, free: 6.293 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4805, allocations: 0 / 0.613 GB, free: 6.293 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.4806, allocations: 31.98 kB / 0.6131 GB, free: 6.262 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.4809, allocations: 11.98 kB / 0.6131 GB, free: 6.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.4813, allocations: 205.9 kB / 0.6133 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.4816, allocations: 0.6926 MB / 0.614 GB, free: 5.301 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.4817, allocations: 19.42 kB / 0.614 GB, free: 5.281 MB / 426.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4817, allocations: 0 / 0.614 GB, free: 5.281 MB / 426.7 MB Notification: Performance of Templates: time 0.004138/0.4859, allocations: 1.913 MB / 0.6159 GB, free: 3.371 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches