Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 190.5 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.6 MB / 244.1 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007732/0.0007732, allocations: 99.73 kB / 296.1 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.297/0.297, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002676, allocations: 8 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2884, allocations: 62.96 MB / 0.5165 GB, free: 36.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3916, allocations: 89.27 MB / 0.6037 GB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.3919, allocations: 75.97 kB / 0.6037 GB, free: 76 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01202/0.4039, allocations: 4.606 MB / 0.6082 GB, free: 11.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.404, allocations: 0 / 0.6082 GB, free: 11.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.404, 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.0004674/0.4045, allocations: 411.4 kB / 0.6086 GB, free: 11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4045, allocations: 8.031 kB / 0.6086 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.4045, allocations: 16.78 kB / 0.6086 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.4048, allocations: 200.6 kB / 0.6088 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.4048, allocations: 4.375 kB / 0.6088 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.4048, allocations: 4.375 kB / 0.6088 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.405, allocations: 57.8 kB / 0.6089 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.405, allocations: 3.938 kB / 0.6089 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.405, allocations: 0 / 0.6089 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.405, allocations: 0 / 0.6089 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.4051, allocations: 27.92 kB / 0.6089 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.4055, allocations: 280.9 kB / 0.6092 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4057, allocations: 42.56 kB / 0.6092 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.4057, allocations: 16.94 kB / 0.6093 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.4058, allocations: 4 kB / 0.6093 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.4058, allocations: 38.5 kB / 0.6093 GB, free: 10.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4058, allocations: 4 kB / 0.6093 GB, free: 10.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005383/0.4064, allocations: 157.3 kB / 0.6094 GB, free: 10.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4064, allocations: 59.34 kB / 0.6095 GB, free: 9.965 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.4066, allocations: 175.1 kB / 0.6097 GB, free: 9.781 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.4066, allocations: 25.7 kB / 0.6097 GB, free: 9.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.4067, allocations: 100 kB / 0.6098 GB, free: 9.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.4067, allocations: 19.8 kB / 0.6098 GB, free: 9.629 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.4067, allocations: 0 / 0.6098 GB, free: 9.629 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4068, allocations: 318.8 kB / 0.6101 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.4069, allocations: 27.98 kB / 0.6101 GB, free: 9.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.407, allocations: 23.97 kB / 0.6102 GB, free: 9.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.4071, allocations: 48.84 kB / 0.6102 GB, free: 9.207 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4071, allocations: 0 / 0.6102 GB, free: 9.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001778/0.4073, allocations: 93.52 kB / 0.6103 GB, free: 9.109 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4073, allocations: 10.95 kB / 0.6103 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4073, allocations: 0 / 0.6103 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.4074, allocations: 0 / 0.6103 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.036e-05/0.4074, allocations: 12 kB / 0.6103 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4074, allocations: 4 kB / 0.6103 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.4075, allocations: 15.98 kB / 0.6103 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.4075, allocations: 0 / 0.6103 GB, free: 9.07 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.979e-05/0.4076, allocations: 125.7 kB / 0.6105 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.4076, allocations: 7.906 kB / 0.6105 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.4079, allocations: 114.1 kB / 0.6106 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4079, allocations: 0 / 0.6106 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4079, allocations: 0 / 0.6106 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4079, allocations: 4.219 kB / 0.6106 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.4083, allocations: 363.6 kB / 0.6109 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4083, allocations: 3.938 kB / 0.6109 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.4084, allocations: 12 kB / 0.6109 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4084, allocations: 3.984 kB / 0.6109 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4084, allocations: 7.984 kB / 0.611 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4084, allocations: 3.938 kB / 0.611 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4084, allocations: 0 / 0.611 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.4086, allocations: 191.3 kB / 0.6111 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.4087, allocations: 89 kB / 0.6112 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.4087, allocations: 4 kB / 0.6112 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.4088, allocations: 7.938 kB / 0.6112 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.4088, allocations: 7.984 kB / 0.6112 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.4088, allocations: 4 kB / 0.6112 GB, free: 8.035 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.955e-05/0.4089, allocations: 131.2 kB / 0.6114 GB, free: 7.906 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4089, allocations: 0 / 0.6114 GB, free: 7.906 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.4092, allocations: 20 kB / 0.6114 GB, free: 7.887 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.0008341/0.41, allocations: 401.4 kB / 0.6118 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.4102, allocations: 59.91 kB / 0.6118 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4102, allocations: 0 / 0.6118 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.4103, allocations: 31.97 kB / 0.6119 GB, free: 7.539 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.4106, allocations: 12 kB / 0.6119 GB, free: 7.527 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.4109, allocations: 234.8 kB / 0.6121 GB, free: 7.266 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.4112, allocations: 0.7004 MB / 0.6128 GB, free: 6.539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.4113, allocations: 11.44 kB / 0.6128 GB, free: 6.527 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4113, allocations: 3.938 kB / 0.6128 GB, free: 6.523 MB / 426.7 MB Notification: Performance of Templates: time 0.002656/0.4139, allocations: 1.494 MB / 0.6143 GB, free: 5.031 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches