Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 194.3 kB / 16.78 MB, free: 4.895 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.5 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.0008414/0.0008413, allocations: 96.19 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.3473/0.3473, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003109, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3019, allocations: 62.96 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.4059, allocations: 89.68 MB / 0.604 GB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.4062, allocations: 75.95 kB / 0.6041 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01354/0.4198, allocations: 5.48 MB / 0.6095 GB, free: 10.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4198, allocations: 0 / 0.6095 GB, free: 10.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.4198, allocations: 8 kB / 0.6095 GB, free: 10.14 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.0004121/0.4202, allocations: 395.5 kB / 0.6099 GB, free: 9.703 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4203, allocations: 8.031 kB / 0.6099 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.4203, allocations: 8.938 kB / 0.6099 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.4206, allocations: 204 kB / 0.6101 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.4206, allocations: 4.312 kB / 0.6101 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.4206, allocations: 8.375 kB / 0.6101 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.4208, allocations: 71.95 kB / 0.6102 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4208, allocations: 192 / 0.6102 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4208, allocations: 3.938 kB / 0.6102 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4208, allocations: 0 / 0.6102 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/0.4209, allocations: 23.98 kB / 0.6102 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.4213, allocations: 296.9 kB / 0.6105 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.4215, allocations: 50.48 kB / 0.6105 GB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.4216, allocations: 20.94 kB / 0.6105 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.4216, allocations: 4 kB / 0.6105 GB, free: 8.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.4216, allocations: 30.56 kB / 0.6106 GB, free: 8.863 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4216, allocations: 0 / 0.6106 GB, free: 8.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005656/0.4222, allocations: 169.3 kB / 0.6107 GB, free: 8.691 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.4222, allocations: 77.11 kB / 0.6108 GB, free: 8.598 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.4224, allocations: 144.8 kB / 0.6109 GB, free: 8.449 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.4224, allocations: 25.7 kB / 0.611 GB, free: 8.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.4225, allocations: 104 kB / 0.6111 GB, free: 8.312 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.4225, allocations: 19.75 kB / 0.6111 GB, free: 8.293 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.4225, allocations: 4 kB / 0.6111 GB, free: 8.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4226, allocations: 324 kB / 0.6114 GB, free: 7.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.15e-05/0.4227, allocations: 23.98 kB / 0.6114 GB, free: 7.941 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.4228, allocations: 37.7 kB / 0.6114 GB, free: 7.898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4229, allocations: 64.84 kB / 0.6115 GB, free: 7.832 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.4229, allocations: 0 / 0.6115 GB, free: 7.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001864/0.4231, allocations: 89.58 kB / 0.6116 GB, free: 7.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4232, allocations: 12 kB / 0.6116 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4232, allocations: 0 / 0.6116 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.4232, allocations: 0 / 0.6116 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.4232, allocations: 19.92 kB / 0.6116 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.4233, allocations: 0 / 0.6116 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.4233, allocations: 7.984 kB / 0.6116 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.4233, allocations: 3.938 kB / 0.6116 GB, free: 7.695 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.325e-05/0.4234, allocations: 125.8 kB / 0.6118 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.4235, allocations: 3.906 kB / 0.6118 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.4237, allocations: 102 kB / 0.6119 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4237, allocations: 3.984 kB / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.4237, allocations: 320 / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.4237, allocations: 0 / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.4241, allocations: 374.4 kB / 0.6122 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4242, allocations: 3.984 kB / 0.6122 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.4242, allocations: 12 kB / 0.6122 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4242, allocations: 3.938 kB / 0.6122 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4242, allocations: 8 kB / 0.6122 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4243, allocations: 0 / 0.6122 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4243, allocations: 3.938 kB / 0.6122 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.4245, allocations: 187.4 kB / 0.6124 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.4246, allocations: 93 kB / 0.6125 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.4246, allocations: 4 kB / 0.6125 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.4247, allocations: 8 kB / 0.6125 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.4247, allocations: 11.92 kB / 0.6125 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.4247, allocations: 4 kB / 0.6125 GB, free: 6.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.53e-05/0.4248, allocations: 114.8 kB / 0.6127 GB, free: 6.551 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4248, allocations: 0 / 0.6127 GB, free: 6.551 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002768/0.4251, allocations: 55.86 kB / 0.6127 GB, free: 6.496 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.001006/0.4261, allocations: 497.4 kB / 0.6132 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.4263, allocations: 59.91 kB / 0.6132 GB, free: 6.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4263, allocations: 0 / 0.6132 GB, free: 6.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.9e-05/0.4264, allocations: 35.97 kB / 0.6133 GB, free: 6.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.4267, allocations: 22.28 kB / 0.6133 GB, free: 6.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.4271, allocations: 210.2 kB / 0.6135 GB, free: 5.816 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.4273, allocations: 0.6934 MB / 0.6142 GB, free: 5.098 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.4274, allocations: 23.42 kB / 0.6142 GB, free: 5.074 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4274, allocations: 4 kB / 0.6142 GB, free: 5.07 MB / 426.7 MB Notification: Performance of Templates: time 0.003303/0.4307, allocations: 1.946 MB / 0.6161 GB, free: 3.129 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches