Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 198.7 kB / 16.79 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.267/1.267, allocations: 226.5 MB / 244.1 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008005/0.0008006, allocations: 94.47 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3247/0.3247, allocations: 44.83 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3153, allocations: 62.96 MB / 0.5165 GB, free: 37.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.4271, allocations: 89.49 MB / 0.6039 GB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4274, allocations: 79.95 kB / 0.6039 GB, free: 15.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0149/0.4423, allocations: 5.35 MB / 0.6092 GB, free: 10.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.117e-06/0.4423, allocations: 0 / 0.6092 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.4424, allocations: 7.938 kB / 0.6092 GB, free: 10.48 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.0005515/0.4429, allocations: 455 kB / 0.6096 GB, free: 9.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.443, allocations: 12.88 kB / 0.6096 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.443, allocations: 20.75 kB / 0.6096 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.4433, allocations: 224.5 kB / 0.6099 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4433, allocations: 8.375 kB / 0.6099 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.4434, allocations: 384 / 0.6099 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.4435, allocations: 62.17 kB / 0.6099 GB, free: 9.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4435, allocations: 192 / 0.6099 GB, free: 9.617 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4435, allocations: 3.938 kB / 0.6099 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4436, allocations: 0 / 0.6099 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.219e-05/0.4437, allocations: 35.97 kB / 0.61 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.4441, allocations: 320.8 kB / 0.6103 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.4442, allocations: 54.5 kB / 0.6103 GB, free: 9.152 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.4443, allocations: 24.94 kB / 0.6103 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.4443, allocations: 0 / 0.6103 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.4443, allocations: 30.56 kB / 0.6104 GB, free: 9.086 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4443, allocations: 0 / 0.6104 GB, free: 9.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008964/0.4452, allocations: 282 kB / 0.6106 GB, free: 8.805 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.4453, allocations: 51.41 kB / 0.6107 GB, free: 8.742 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.4456, allocations: 267.8 kB / 0.6109 GB, free: 8.469 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4456, allocations: 33.64 kB / 0.611 GB, free: 8.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.4457, allocations: 120 kB / 0.6111 GB, free: 8.309 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.4457, allocations: 19.66 kB / 0.6111 GB, free: 8.289 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.4457, allocations: 0 / 0.6111 GB, free: 8.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.4458, allocations: 338.8 kB / 0.6114 GB, free: 7.949 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.4459, allocations: 31.98 kB / 0.6115 GB, free: 7.918 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.446, allocations: 39.91 kB / 0.6115 GB, free: 7.879 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.4462, allocations: 84.77 kB / 0.6116 GB, free: 7.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4462, allocations: 0 / 0.6116 GB, free: 7.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002198/0.4464, allocations: 121.5 kB / 0.6117 GB, free: 7.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4464, allocations: 4 kB / 0.6117 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4464, allocations: 0 / 0.6117 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4465, allocations: 4 kB / 0.6117 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4466, allocations: 19.98 kB / 0.6117 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.4466, allocations: 320 / 0.6117 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.4466, allocations: 19.92 kB / 0.6117 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.4467, allocations: 0 / 0.6117 GB, free: 7.621 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 0.0001007/0.4468, allocations: 137.8 kB / 0.6119 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.4468, allocations: 15.81 kB / 0.6119 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.4471, allocations: 147 kB / 0.612 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4471, allocations: 0 / 0.612 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4471, allocations: 4 kB / 0.612 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4471, allocations: 0 / 0.612 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.4477, allocations: 463.2 kB / 0.6125 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4477, allocations: 0 / 0.6125 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.4478, allocations: 23.92 kB / 0.6125 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4478, allocations: 4 kB / 0.6125 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.4478, allocations: 7.969 kB / 0.6125 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4478, allocations: 0 / 0.6125 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4478, allocations: 0 / 0.6125 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.4481, allocations: 224.2 kB / 0.6127 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.4482, allocations: 100.9 kB / 0.6128 GB, free: 6.402 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.4482, allocations: 7.938 kB / 0.6128 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.4483, allocations: 7.984 kB / 0.6128 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.4483, allocations: 11.92 kB / 0.6128 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.4483, allocations: 7.984 kB / 0.6129 GB, free: 6.367 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.4485, allocations: 205.5 kB / 0.613 GB, free: 6.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4485, allocations: 0 / 0.613 GB, free: 6.168 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.4488, allocations: 35.94 kB / 0.6131 GB, free: 6.133 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.001049/0.4499, allocations: 452.6 kB / 0.6135 GB, free: 5.855 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.4501, allocations: 83.94 kB / 0.6136 GB, free: 5.773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4501, allocations: 3.938 kB / 0.6136 GB, free: 5.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.801e-05/0.4502, allocations: 48.11 kB / 0.6136 GB, free: 5.723 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.4506, allocations: 19.31 kB / 0.6137 GB, free: 5.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.4512, allocations: 397 kB / 0.614 GB, free: 5.281 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.4514, allocations: 0.7199 MB / 0.6147 GB, free: 4.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.4515, allocations: 19.44 kB / 0.6148 GB, free: 4.516 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4515, allocations: 3.938 kB / 0.6148 GB, free: 4.512 MB / 426.7 MB Notification: Performance of Templates: time 0.003636/0.4551, allocations: 2.046 MB / 0.6168 GB, free: 2.469 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches