Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 190.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.5 MB / 244.1 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008302/0.0008302, allocations: 105.1 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.3251/0.3251, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002834, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3079, allocations: 62.95 MB / 0.5165 GB, free: 37.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.4115, allocations: 89.49 MB / 0.6039 GB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4118, allocations: 71.97 kB / 0.6039 GB, free: 15.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01277/0.4245, allocations: 5.06 MB / 0.6089 GB, free: 10.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4246, allocations: 0 / 0.6089 GB, free: 10.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.4246, allocations: 4 kB / 0.6089 GB, free: 10.78 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.0004364/0.425, allocations: 431.2 kB / 0.6093 GB, free: 10.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.4251, allocations: 12.03 kB / 0.6093 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.4251, allocations: 12.84 kB / 0.6093 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.4254, allocations: 212 kB / 0.6095 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.4254, allocations: 4.375 kB / 0.6095 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.4254, allocations: 4.359 kB / 0.6095 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.4255, allocations: 54.25 kB / 0.6096 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4256, allocations: 4.172 kB / 0.6096 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4256, allocations: 3.938 kB / 0.6096 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4256, allocations: 4 kB / 0.6096 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.677e-05/0.4257, allocations: 31.92 kB / 0.6096 GB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.4261, allocations: 308.8 kB / 0.6099 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.567e-05/0.4262, allocations: 42.56 kB / 0.6099 GB, free: 9.523 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.4262, allocations: 32.88 kB / 0.61 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.4263, allocations: 0 / 0.61 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.4263, allocations: 30.56 kB / 0.61 GB, free: 9.449 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4263, allocations: 0 / 0.61 GB, free: 9.449 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008362/0.4272, allocations: 270.1 kB / 0.6103 GB, free: 9.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.4272, allocations: 55.41 kB / 0.6103 GB, free: 9.113 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.4274, allocations: 191.3 kB / 0.6105 GB, free: 8.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.4274, allocations: 29.7 kB / 0.6105 GB, free: 8.875 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.4275, allocations: 104.1 kB / 0.6106 GB, free: 8.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.4275, allocations: 31.61 kB / 0.6107 GB, free: 8.738 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-06/0.4275, allocations: 4 kB / 0.6107 GB, free: 8.734 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4276, allocations: 326.8 kB / 0.611 GB, free: 8.406 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.4277, allocations: 35.98 kB / 0.611 GB, free: 8.371 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.4278, allocations: 31.97 kB / 0.611 GB, free: 8.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.428, allocations: 88.7 kB / 0.6111 GB, free: 8.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.428, allocations: 0 / 0.6111 GB, free: 8.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000208/0.4282, allocations: 117.8 kB / 0.6112 GB, free: 8.129 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4282, allocations: 8 kB / 0.6112 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4282, allocations: 3.938 kB / 0.6112 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.4282, allocations: 0 / 0.6112 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.4283, allocations: 23.98 kB / 0.6113 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4284, allocations: 0 / 0.6113 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.4284, allocations: 7.984 kB / 0.6113 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.4284, allocations: 4 kB / 0.6113 GB, free: 8.082 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.325e-05/0.4285, allocations: 129.7 kB / 0.6114 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.4285, allocations: 19.8 kB / 0.6114 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.4288, allocations: 135 kB / 0.6115 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4288, allocations: 0 / 0.6115 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4288, allocations: 0 / 0.6115 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4289, allocations: 0 / 0.6115 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.4294, allocations: 443.2 kB / 0.612 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4294, allocations: 0 / 0.612 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.4295, allocations: 23.92 kB / 0.612 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4295, allocations: 432 / 0.612 GB, free: 7.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4295, allocations: 11.94 kB / 0.612 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4295, allocations: 4 kB / 0.612 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4295, allocations: 4.031 kB / 0.612 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.4297, allocations: 220.2 kB / 0.6122 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.4298, allocations: 92.98 kB / 0.6123 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.4298, allocations: 11.94 kB / 0.6123 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.4299, allocations: 8 kB / 0.6123 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.43, allocations: 7.984 kB / 0.6123 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.43, allocations: 4 kB / 0.6123 GB, free: 6.879 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.4301, allocations: 146 kB / 0.6125 GB, free: 6.738 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.302e-06/0.4301, allocations: 0 / 0.6125 GB, free: 6.738 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.4304, allocations: 39.86 kB / 0.6125 GB, free: 6.699 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.0008917/0.4313, allocations: 466.8 kB / 0.613 GB, free: 6.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.4315, allocations: 83.94 kB / 0.613 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4315, allocations: 0 / 0.613 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.4316, allocations: 39.92 kB / 0.6131 GB, free: 6.289 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.4319, allocations: 15.98 kB / 0.6131 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.4324, allocations: 312.3 kB / 0.6134 GB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.4327, allocations: 0.7043 MB / 0.6141 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.4327, allocations: 19.42 kB / 0.6141 GB, free: 5.184 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4328, allocations: 4 kB / 0.6141 GB, free: 5.18 MB / 426.7 MB Notification: Performance of Templates: time 0.003436/0.4362, allocations: 1.827 MB / 0.6159 GB, free: 3.352 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches