Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009435/0.0009435, allocations: 200.1 kB / 15.8 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008603/0.0008604, allocations: 102.4 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1724/0.1724, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002365/0.0002365, allocations: 11.98 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09022/0.09047, allocations: 62.96 MB / 0.5153 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001729/0.09224, allocations: 1.291 MB / 0.5166 GB, free: 1.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.09299, allocations: 475.3 kB / 0.517 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.09304, allocations: 4 kB / 0.517 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.09322, allocations: 23.86 kB / 0.5171 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.0934, allocations: 67.8 kB / 0.5171 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.09363, allocations: 67.86 kB / 0.5172 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.09374, allocations: 51.84 kB / 0.5172 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.68e-05/0.09383, allocations: 27.95 kB / 0.5173 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.09388, allocations: 19.81 kB / 0.5173 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.09394, allocations: 23.86 kB / 0.5173 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.09395, allocations: 0 / 0.5173 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.424e-05/0.09403, allocations: 27.98 kB / 0.5173 GB, free: 0.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.09407, allocations: 15.92 kB / 0.5174 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.0941, allocations: 29.7 kB / 0.5174 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.09422, allocations: 59.91 kB / 0.5174 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.09423, allocations: 0 / 0.5174 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.09424, allocations: 0 / 0.5174 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.09425, allocations: 3.938 kB / 0.5174 GB, free: 0.5547 MB / 346.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.000417/0.09467, allocations: 391.2 kB / 0.5178 GB, free: 128 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.09471, allocations: 12.03 kB / 0.5178 GB, free: 116 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.09474, allocations: 7.906 kB / 0.5178 GB, free: 108 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1693/0.2641, allocations: 185.3 kB / 0.518 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2641, allocations: 1.688 kB / 0.518 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.2641, allocations: 9.266 kB / 0.518 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2643, allocations: 48.38 kB / 0.5181 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2643, allocations: 3.094 kB / 0.5181 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.2643, allocations: 2.109 kB / 0.5181 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2643, allocations: 0.7188 kB / 0.5181 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.2644, allocations: 27.47 kB / 0.5181 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.2647, allocations: 281.2 kB / 0.5184 GB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.2649, allocations: 45.48 kB / 0.5184 GB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.265, allocations: 17.66 kB / 0.5184 GB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.265, allocations: 1.453 kB / 0.5184 GB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.265, allocations: 36.48 kB / 0.5185 GB, free: 11.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.265, allocations: 0.5 kB / 0.5185 GB, free: 11.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005233/0.2656, allocations: 156.6 kB / 0.5186 GB, free: 11.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.2656, allocations: 53.22 kB / 0.5187 GB, free: 11.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2657, allocations: 177.9 kB / 0.5188 GB, free: 11.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.2658, allocations: 27.08 kB / 0.5189 GB, free: 11.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.2658, allocations: 106.6 kB / 0.519 GB, free: 11.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2658, allocations: 14.89 kB / 0.519 GB, free: 11.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.2658, allocations: 1.594 kB / 0.519 GB, free: 11.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.261e-05/0.2659, allocations: 329.5 kB / 0.5193 GB, free: 10.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/0.266, allocations: 20.72 kB / 0.5193 GB, free: 10.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/0.266, allocations: 21.69 kB / 0.5193 GB, free: 10.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.01e-05/0.2661, allocations: 26.55 kB / 0.5194 GB, free: 10.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2661, allocations: 0 / 0.5194 GB, free: 10.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001728/0.2663, allocations: 87.38 kB / 0.5194 GB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2663, allocations: 9.844 kB / 0.5195 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2663, allocations: 4.609 kB / 0.5195 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2663, allocations: 1.969 kB / 0.5195 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.2664, allocations: 13.58 kB / 0.5195 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2664, allocations: 0.7812 kB / 0.5195 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.2665, allocations: 12.77 kB / 0.5195 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2665, allocations: 0.6875 kB / 0.5195 GB, free: 10.67 MB / 346.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 6.029e-05/0.2665, allocations: 123.8 kB / 0.5196 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.2666, allocations: 12.06 kB / 0.5196 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.2668, allocations: 100.5 kB / 0.5197 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2668, allocations: 5.438 kB / 0.5197 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2668, allocations: 0.6562 kB / 0.5197 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2668, allocations: 0 / 0.5197 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.2672, allocations: 361.8 kB / 0.5201 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2672, allocations: 0 / 0.5201 GB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.2672, allocations: 18.3 kB / 0.5201 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2672, allocations: 1.734 kB / 0.5201 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2673, allocations: 1.469 kB / 0.5201 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2673, allocations: 5.25 kB / 0.5201 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2673, allocations: 0 / 0.5201 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.2675, allocations: 189.6 kB / 0.5203 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.2675, allocations: 86.3 kB / 0.5204 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.2675, allocations: 2.484 kB / 0.5204 GB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.2676, allocations: 12.08 kB / 0.5204 GB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2676, allocations: 3.953 kB / 0.5204 GB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.2676, allocations: 1.781 kB / 0.5204 GB, free: 9.945 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.546e-05/0.2677, allocations: 136 kB / 0.5205 GB, free: 9.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2677, allocations: 0 / 0.5205 GB, free: 9.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.268, allocations: 19.33 kB / 0.5205 GB, free: 9.871 MB / 346.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.0007366/0.2687, allocations: 404 kB / 0.5209 GB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.2689, allocations: 52.23 kB / 0.521 GB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2689, allocations: 1.188 kB / 0.521 GB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.269, allocations: 30.38 kB / 0.521 GB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.2693, allocations: 18.78 kB / 0.521 GB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.2696, allocations: 227.8 kB / 0.5212 GB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.2698, allocations: 0.7002 MB / 0.5219 GB, free: 8.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.2698, allocations: 13.94 kB / 0.5219 GB, free: 8.789 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2698, allocations: 0 / 0.5219 GB, free: 8.789 MB / 346.7 MB Notification: Performance of Templates: time 0.002814/0.2726, allocations: 1.463 MB / 0.5233 GB, free: 8.629 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches