Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 197.5 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 244.1 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007755/0.0007755, allocations: 99.16 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.289/0.289, allocations: 44.82 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.0002631, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2998, allocations: 62.95 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.4135, allocations: 89.28 MB / 0.6037 GB, free: 108 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.4138, allocations: 67.97 kB / 0.6037 GB, free: 40 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.4259, allocations: 4.567 MB / 0.6082 GB, free: 11.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4259, allocations: 0 / 0.6082 GB, free: 11.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.426, allocations: 4 kB / 0.6082 GB, free: 11.46 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.0004648/0.4264, allocations: 407.4 kB / 0.6086 GB, free: 11.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.4265, allocations: 8.031 kB / 0.6086 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.4265, allocations: 8.844 kB / 0.6086 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.4268, allocations: 208 kB / 0.6088 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4268, allocations: 384 / 0.6088 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.4268, allocations: 12.36 kB / 0.6088 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.427, allocations: 50.19 kB / 0.6088 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.427, allocations: 4.188 kB / 0.6089 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.427, allocations: 3.938 kB / 0.6089 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.427, allocations: 0 / 0.6089 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.71e-05/0.4271, allocations: 23.98 kB / 0.6089 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.4275, allocations: 272.9 kB / 0.6091 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.4277, allocations: 54.5 kB / 0.6092 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.4278, allocations: 20.92 kB / 0.6092 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.4278, allocations: 0 / 0.6092 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.4278, allocations: 30.56 kB / 0.6092 GB, free: 10.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.4278, allocations: 0 / 0.6092 GB, free: 10.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005355/0.4284, allocations: 161.2 kB / 0.6094 GB, free: 10.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.4284, allocations: 55.41 kB / 0.6094 GB, free: 9.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.4286, allocations: 167.7 kB / 0.6096 GB, free: 9.816 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.4286, allocations: 25.7 kB / 0.6096 GB, free: 9.785 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.4287, allocations: 100.1 kB / 0.6097 GB, free: 9.684 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.4287, allocations: 11.75 kB / 0.6097 GB, free: 9.672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.4287, allocations: 3.938 kB / 0.6097 GB, free: 9.668 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4288, allocations: 326.8 kB / 0.6101 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.4289, allocations: 19.98 kB / 0.6101 GB, free: 9.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.429, allocations: 32.05 kB / 0.6101 GB, free: 9.289 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.4291, allocations: 52.83 kB / 0.6102 GB, free: 9.234 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4291, allocations: 0 / 0.6102 GB, free: 9.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001779/0.4293, allocations: 89.58 kB / 0.6102 GB, free: 9.141 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4293, allocations: 6.656 kB / 0.6102 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4293, allocations: 7.938 kB / 0.6103 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4293, allocations: 0 / 0.6103 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.4294, allocations: 19.92 kB / 0.6103 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4294, allocations: 3.984 kB / 0.6103 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.4295, allocations: 8 kB / 0.6103 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4295, allocations: 0 / 0.6103 GB, free: 9.098 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.92e-05/0.4296, allocations: 125.8 kB / 0.6104 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.4296, allocations: 7.906 kB / 0.6104 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.4298, allocations: 97.97 kB / 0.6105 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4299, allocations: 4 kB / 0.6105 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4299, allocations: 3.938 kB / 0.6105 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4299, allocations: 0 / 0.6105 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.4303, allocations: 367.5 kB / 0.6109 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4303, allocations: 4 kB / 0.6109 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.4304, allocations: 15.98 kB / 0.6109 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4304, allocations: 0 / 0.6109 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.4304, allocations: 0 / 0.6109 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4304, allocations: 4.25 kB / 0.6109 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4304, allocations: 0 / 0.6109 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.4306, allocations: 195.3 kB / 0.6111 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.4307, allocations: 89 kB / 0.6112 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.4307, allocations: 4 kB / 0.6112 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.4308, allocations: 11.94 kB / 0.6112 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.4308, allocations: 3.984 kB / 0.6112 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4309, allocations: 4 kB / 0.6112 GB, free: 8.078 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.306e-05/0.431, allocations: 126.6 kB / 0.6113 GB, free: 7.957 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.431, allocations: 0 / 0.6113 GB, free: 7.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.4312, allocations: 20 kB / 0.6113 GB, free: 7.938 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.0008565/0.4321, allocations: 399 kB / 0.6117 GB, free: 7.688 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.4323, allocations: 59.91 kB / 0.6118 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4323, allocations: 0 / 0.6118 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.4324, allocations: 27.98 kB / 0.6118 GB, free: 7.602 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4326, allocations: 11.98 kB / 0.6118 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.4331, allocations: 231.3 kB / 0.612 GB, free: 7.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.4333, allocations: 0.6965 MB / 0.6127 GB, free: 6.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.4334, allocations: 11.44 kB / 0.6127 GB, free: 6.594 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4334, allocations: 0 / 0.6127 GB, free: 6.594 MB / 426.7 MB Notification: Performance of Templates: time 0.003062/0.4365, allocations: 1.451 MB / 0.6141 GB, free: 5.145 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches