Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009385/0.0009386, allocations: 193.9 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.251/1.251, allocations: 226.5 MB / 244.1 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007745/0.0007744, allocations: 103 kB / 296.1 MB, free: 6.832 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2885/0.2885, allocations: 44.82 MB / 393 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002405/0.0002406, allocations: 12 kB / 465.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2692, allocations: 62.94 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3731, allocations: 89.38 MB / 0.6037 GB, free: 15.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.3734, allocations: 79.95 kB / 0.6038 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.3858, allocations: 5.04 MB / 0.6087 GB, free: 10.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3859, allocations: 0 / 0.6087 GB, free: 10.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3859, allocations: 0 / 0.6087 GB, free: 10.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003999/0.3863, allocations: 435.2 kB / 0.6092 GB, free: 10.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.3863, allocations: 8.031 kB / 0.6092 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.3864, allocations: 12.84 kB / 0.6092 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3866, allocations: 216 kB / 0.6094 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3866, allocations: 4.359 kB / 0.6094 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.3866, allocations: 8.375 kB / 0.6094 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3868, allocations: 46.25 kB / 0.6094 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3868, allocations: 4.188 kB / 0.6094 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3868, allocations: 3.938 kB / 0.6094 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3868, allocations: 0 / 0.6094 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.996e-05/0.3869, allocations: 39.91 kB / 0.6095 GB, free: 9.988 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.3873, allocations: 292.8 kB / 0.6098 GB, free: 9.652 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.3874, allocations: 38.56 kB / 0.6098 GB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.3874, allocations: 28.94 kB / 0.6098 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3874, allocations: 3.938 kB / 0.6098 GB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3875, allocations: 30.56 kB / 0.6099 GB, free: 9.531 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3875, allocations: 0 / 0.6099 GB, free: 9.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007813/0.3883, allocations: 258.5 kB / 0.6101 GB, free: 9.273 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3883, allocations: 55.41 kB / 0.6102 GB, free: 9.207 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.3885, allocations: 191.3 kB / 0.6103 GB, free: 9.004 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.3885, allocations: 25.7 kB / 0.6104 GB, free: 8.973 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.3886, allocations: 108.1 kB / 0.6105 GB, free: 8.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.3886, allocations: 27.55 kB / 0.6105 GB, free: 8.836 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.3886, allocations: 4 kB / 0.6105 GB, free: 8.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3887, allocations: 322.8 kB / 0.6108 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.3888, allocations: 31.98 kB / 0.6108 GB, free: 8.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.3889, allocations: 32 kB / 0.6109 GB, free: 8.445 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.389, allocations: 76.91 kB / 0.6109 GB, free: 8.367 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.389, allocations: 4 kB / 0.6109 GB, free: 8.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001845/0.3892, allocations: 101.6 kB / 0.611 GB, free: 8.258 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3893, allocations: 4 kB / 0.611 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3893, allocations: 96 / 0.611 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3893, allocations: 7.984 kB / 0.6111 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.3894, allocations: 27.98 kB / 0.6111 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3894, allocations: 0 / 0.6111 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.3894, allocations: 7.984 kB / 0.6111 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.3895, allocations: 4 kB / 0.6111 GB, free: 8.207 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 (8): * Single equations (assignments): 8 * 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.3895, allocations: 129.7 kB / 0.6112 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.3896, allocations: 15.75 kB / 0.6112 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.3898, allocations: 127 kB / 0.6114 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3898, allocations: 0 / 0.6114 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3898, allocations: 0 / 0.6114 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3899, allocations: 4 kB / 0.6114 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.3903, allocations: 427.2 kB / 0.6118 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3904, allocations: 0 / 0.6118 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.3904, allocations: 19.98 kB / 0.6118 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3904, allocations: 0 / 0.6118 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3904, allocations: 7.875 kB / 0.6118 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3905, allocations: 4 kB / 0.6118 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3905, allocations: 0 / 0.6118 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.3907, allocations: 216.4 kB / 0.612 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.3908, allocations: 93 kB / 0.6121 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.3908, allocations: 3.938 kB / 0.6121 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.3909, allocations: 16 kB / 0.6121 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.3909, allocations: 7.984 kB / 0.6121 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.3909, allocations: 0 / 0.6121 GB, free: 7.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.391, allocations: 150 kB / 0.6123 GB, free: 6.902 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.391, allocations: 0 / 0.6123 GB, free: 6.902 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000234/0.3913, allocations: 35.88 kB / 0.6123 GB, free: 6.867 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.000883/0.3922, allocations: 463.8 kB / 0.6127 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.3924, allocations: 71.95 kB / 0.6128 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3924, allocations: 0 / 0.6128 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.3925, allocations: 35.92 kB / 0.6128 GB, free: 6.473 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3928, allocations: 15.98 kB / 0.6129 GB, free: 6.457 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.3932, allocations: 296.4 kB / 0.6131 GB, free: 6.133 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3935, allocations: 0.7043 MB / 0.6138 GB, free: 5.402 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.3935, allocations: 23.42 kB / 0.6138 GB, free: 5.379 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3935, allocations: 0 / 0.6138 GB, free: 5.379 MB / 426.7 MB Notification: Performance of Templates: time 0.002902/0.3964, allocations: 1.772 MB / 0.6156 GB, free: 3.605 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches