Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009551/0.0009551, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007527/0.0007528, allocations: 96.31 kB / 296.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2979/0.2979, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002962, allocations: 12 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2915, allocations: 62.96 MB / 0.5165 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.3988, allocations: 90.6 MB / 0.605 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.399, allocations: 75.97 kB / 0.605 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.4174, allocations: 6.415 MB / 0.6113 GB, free: 8.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4175, allocations: 0 / 0.6113 GB, free: 8.305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.4175, allocations: 4 kB / 0.6113 GB, free: 8.301 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005241/0.418, allocations: 442.9 kB / 0.6117 GB, free: 7.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4181, allocations: 12.03 kB / 0.6117 GB, free: 7.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.4181, allocations: 12.75 kB / 0.6118 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.4184, allocations: 220.8 kB / 0.612 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.4184, allocations: 8.375 kB / 0.612 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.4184, allocations: 384 / 0.612 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.4186, allocations: 58.23 kB / 0.612 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4186, allocations: 192 / 0.612 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4186, allocations: 3.938 kB / 0.612 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4186, allocations: 0 / 0.612 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.4187, allocations: 27.91 kB / 0.6121 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.4191, allocations: 296.8 kB / 0.6123 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.4192, allocations: 58.61 kB / 0.6124 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.4193, allocations: 28.84 kB / 0.6124 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.4193, allocations: 0 / 0.6124 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.4195, allocations: 71.33 kB / 0.6125 GB, free: 6.918 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4195, allocations: 4 kB / 0.6125 GB, free: 6.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004973/0.42, allocations: 173.5 kB / 0.6127 GB, free: 6.738 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.42, allocations: 51.41 kB / 0.6127 GB, free: 6.676 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4202, allocations: 196.4 kB / 0.6129 GB, free: 6.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.4202, allocations: 37.69 kB / 0.6129 GB, free: 6.434 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.4203, allocations: 96.14 kB / 0.613 GB, free: 6.336 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.4203, allocations: 23.7 kB / 0.613 GB, free: 6.312 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.4203, allocations: 4 kB / 0.613 GB, free: 6.309 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4204, allocations: 330.8 kB / 0.6134 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.4205, allocations: 27.92 kB / 0.6134 GB, free: 5.949 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.4206, allocations: 37.64 kB / 0.6134 GB, free: 5.906 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4207, allocations: 65.62 kB / 0.6135 GB, free: 5.836 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4207, allocations: 0 / 0.6135 GB, free: 5.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001705/0.4209, allocations: 101.5 kB / 0.6136 GB, free: 5.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4209, allocations: 11.94 kB / 0.6136 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4209, allocations: 0 / 0.6136 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.4209, allocations: 0 / 0.6136 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.421, allocations: 24.05 kB / 0.6136 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.421, allocations: 0 / 0.6136 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.4211, allocations: 0 / 0.6136 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4211, allocations: 8 kB / 0.6136 GB, free: 5.688 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.642e-05/0.4212, allocations: 133.7 kB / 0.6138 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.4212, allocations: 11.91 kB / 0.6138 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.4215, allocations: 119 kB / 0.6139 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.4215, allocations: 0 / 0.6139 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4215, allocations: 0 / 0.6139 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4215, allocations: 3.984 kB / 0.6139 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.4219, allocations: 423.1 kB / 0.6143 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4219, allocations: 4.031 kB / 0.6143 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.422, allocations: 15.94 kB / 0.6143 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.422, allocations: 0 / 0.6143 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.422, allocations: 7.984 kB / 0.6143 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.422, allocations: 0 / 0.6143 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.422, allocations: 3.938 kB / 0.6143 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.4223, allocations: 204.5 kB / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.4223, allocations: 104.9 kB / 0.6146 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.4223, allocations: 0 / 0.6146 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.4224, allocations: 4 kB / 0.6146 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.4225, allocations: 12.3 kB / 0.6146 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4225, allocations: 4 kB / 0.6146 GB, free: 4.547 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.4226, allocations: 147.2 kB / 0.6148 GB, free: 4.402 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4226, allocations: 0 / 0.6148 GB, free: 4.402 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.4229, allocations: 35.94 kB / 0.6148 GB, free: 4.367 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009207/0.4238, allocations: 470 kB / 0.6153 GB, free: 4.066 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.424, allocations: 59.92 kB / 0.6153 GB, free: 4.008 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.424, allocations: 3.938 kB / 0.6153 GB, free: 4.004 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.4241, allocations: 39.98 kB / 0.6154 GB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.4244, allocations: 31.06 kB / 0.6154 GB, free: 3.938 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.4248, allocations: 287.9 kB / 0.6157 GB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.4251, allocations: 0.7004 MB / 0.6163 GB, free: 2.895 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.4251, allocations: 19.44 kB / 0.6164 GB, free: 2.875 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4251, allocations: 0 / 0.6164 GB, free: 2.875 MB / 426.7 MB Notification: Performance of Templates: time 0.003202/0.4283, allocations: 1.976 MB / 0.6183 GB, free: 0.9062 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches