Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009316/0.0009316, allocations: 195.1 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 226.5 MB / 244.1 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009129/0.0009132, allocations: 94.94 kB / 296.1 MB, free: 6.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.354/0.354, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002482/0.0002482, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3117, allocations: 62.95 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.4213, allocations: 89.57 MB / 0.6039 GB, free: 15.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.4216, allocations: 79.95 kB / 0.604 GB, free: 15.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01353/0.4351, allocations: 5.464 MB / 0.6094 GB, free: 10.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4352, allocations: 0 / 0.6094 GB, free: 10.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.4352, allocations: 8 kB / 0.6094 GB, free: 10.28 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.0003922/0.4356, allocations: 399.5 kB / 0.6097 GB, free: 9.836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.4356, allocations: 12.03 kB / 0.6098 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.4357, allocations: 4.938 kB / 0.6098 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.4359, allocations: 200 kB / 0.6099 GB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.4359, allocations: 4.375 kB / 0.61 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.4359, allocations: 384 / 0.61 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.4361, allocations: 71.95 kB / 0.61 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.4361, allocations: 192 / 0.61 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.4361, allocations: 3.938 kB / 0.61 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.4361, allocations: 0 / 0.61 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.4362, allocations: 27.92 kB / 0.6101 GB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.4365, allocations: 280.9 kB / 0.6103 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4367, allocations: 46.48 kB / 0.6104 GB, free: 9.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.4368, allocations: 16.86 kB / 0.6104 GB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.4368, allocations: 0 / 0.6104 GB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4368, allocations: 38.56 kB / 0.6104 GB, free: 9.023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.4368, allocations: 0 / 0.6104 GB, free: 9.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005041/0.4373, allocations: 157.4 kB / 0.6106 GB, free: 8.863 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.4374, allocations: 85.09 kB / 0.6106 GB, free: 8.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.4375, allocations: 141.8 kB / 0.6108 GB, free: 8.613 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4376, allocations: 29.64 kB / 0.6108 GB, free: 8.578 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.4376, allocations: 96.05 kB / 0.6109 GB, free: 8.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.4376, allocations: 19.73 kB / 0.6109 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.4377, allocations: 0 / 0.6109 GB, free: 8.461 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.4378, allocations: 324 kB / 0.6112 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.4378, allocations: 23.98 kB / 0.6113 GB, free: 8.113 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.4379, allocations: 37.69 kB / 0.6113 GB, free: 8.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.438, allocations: 52.88 kB / 0.6113 GB, free: 8.016 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.438, allocations: 0 / 0.6113 GB, free: 8.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001704/0.4382, allocations: 89.56 kB / 0.6114 GB, free: 7.922 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4382, allocations: 10.5 kB / 0.6114 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4383, allocations: 0 / 0.6114 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.4383, allocations: 3.938 kB / 0.6114 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.968e-05/0.4383, allocations: 16 kB / 0.6115 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4383, allocations: 0 / 0.6115 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.4384, allocations: 7.984 kB / 0.6115 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.4384, allocations: 7.938 kB / 0.6115 GB, free: 7.879 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 6.838e-05/0.4385, allocations: 117.8 kB / 0.6116 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.4385, allocations: 3.906 kB / 0.6116 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.4388, allocations: 106 kB / 0.6117 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4388, allocations: 0 / 0.6117 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4388, allocations: 288 / 0.6117 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4388, allocations: 7.922 kB / 0.6117 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.4392, allocations: 358.5 kB / 0.612 GB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4392, allocations: 0 / 0.612 GB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.4392, allocations: 20.34 kB / 0.6121 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4392, allocations: 0 / 0.6121 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.4393, allocations: 8 kB / 0.6121 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4393, allocations: 0 / 0.6121 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4393, allocations: 3.938 kB / 0.6121 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.4395, allocations: 187.4 kB / 0.6122 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.4396, allocations: 89 kB / 0.6123 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.4396, allocations: 7.938 kB / 0.6123 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.4397, allocations: 4 kB / 0.6123 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.4397, allocations: 11.92 kB / 0.6124 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4397, allocations: 4 kB / 0.6124 GB, free: 6.863 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.957e-05/0.4398, allocations: 111.2 kB / 0.6125 GB, free: 6.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4398, allocations: 0 / 0.6125 GB, free: 6.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002714/0.4401, allocations: 51.88 kB / 0.6125 GB, free: 6.703 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.000941/0.441, allocations: 498 kB / 0.613 GB, free: 6.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.4412, allocations: 59.91 kB / 0.613 GB, free: 6.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4412, allocations: 0 / 0.613 GB, free: 6.312 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.4413, allocations: 27.98 kB / 0.6131 GB, free: 6.285 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.4416, allocations: 20.62 kB / 0.6131 GB, free: 6.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.4419, allocations: 209.9 kB / 0.6133 GB, free: 6.035 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.4421, allocations: 0.6887 MB / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.4422, allocations: 11.44 kB / 0.614 GB, free: 5.309 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4422, allocations: 3.938 kB / 0.614 GB, free: 5.305 MB / 426.7 MB Notification: Performance of Templates: time 0.003465/0.4457, allocations: 1.928 MB / 0.6159 GB, free: 3.379 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches