Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, 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.333/1.333, allocations: 226.5 MB / 244.1 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 92.33 kB / 296.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3848/0.3848, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 12 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3932, allocations: 62.96 MB / 0.5165 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.5275, allocations: 90.61 MB / 0.605 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5278, allocations: 75.95 kB / 0.605 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02315/0.5509, allocations: 6.399 MB / 0.6113 GB, free: 8.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.551, allocations: 4 kB / 0.6113 GB, free: 8.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.551, allocations: 4 kB / 0.6113 GB, free: 8.281 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.0008833/0.5519, allocations: 446.8 kB / 0.6117 GB, free: 7.793 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.552, allocations: 11.97 kB / 0.6117 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.5521, allocations: 16.75 kB / 0.6117 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.5526, allocations: 220.8 kB / 0.612 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.5526, allocations: 4.375 kB / 0.612 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.5527, allocations: 4.375 kB / 0.612 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.5529, allocations: 58.23 kB / 0.612 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.5529, allocations: 192 / 0.612 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.553, allocations: 3.938 kB / 0.612 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.553, allocations: 7.984 kB / 0.612 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.5531, allocations: 23.92 kB / 0.6121 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.5538, allocations: 288.9 kB / 0.6123 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.5541, allocations: 62.61 kB / 0.6124 GB, free: 7.004 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.5542, allocations: 24.84 kB / 0.6124 GB, free: 6.977 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.5542, allocations: 4 kB / 0.6124 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.5544, allocations: 67.33 kB / 0.6125 GB, free: 6.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.5545, allocations: 0 / 0.6125 GB, free: 6.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000899/0.5554, allocations: 181.1 kB / 0.6127 GB, free: 6.711 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.5554, allocations: 51.41 kB / 0.6127 GB, free: 6.648 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.5558, allocations: 200.3 kB / 0.6129 GB, free: 6.445 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.5558, allocations: 29.7 kB / 0.6129 GB, free: 6.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.5559, allocations: 100.1 kB / 0.613 GB, free: 6.309 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.556, allocations: 27.69 kB / 0.613 GB, free: 6.281 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.556, allocations: 0 / 0.613 GB, free: 6.281 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.5562, allocations: 334.7 kB / 0.6134 GB, free: 5.945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.5564, allocations: 23.98 kB / 0.6134 GB, free: 5.922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.5565, allocations: 37.7 kB / 0.6134 GB, free: 5.879 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.5567, allocations: 61.7 kB / 0.6135 GB, free: 5.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5568, allocations: 4 kB / 0.6135 GB, free: 5.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003501/0.5571, allocations: 97.5 kB / 0.6136 GB, free: 5.707 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.5572, allocations: 10.97 kB / 0.6136 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.5572, allocations: 4.406 kB / 0.6136 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.5572, allocations: 7.922 kB / 0.6136 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.5574, allocations: 12 kB / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.5574, allocations: 0 / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/0.5575, allocations: 8 kB / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.5575, allocations: 8 kB / 0.6136 GB, free: 5.66 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 0.0001523/0.5577, allocations: 129.9 kB / 0.6138 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.5578, allocations: 15.89 kB / 0.6138 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.5582, allocations: 126.9 kB / 0.6139 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5582, allocations: 0 / 0.6139 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5582, allocations: 0 / 0.6139 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.5582, allocations: 3.984 kB / 0.6139 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.559, allocations: 415.2 kB / 0.6143 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5591, allocations: 0 / 0.6143 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.5592, allocations: 19.98 kB / 0.6143 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5592, allocations: 3.938 kB / 0.6143 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.5592, allocations: 4.031 kB / 0.6143 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.5592, allocations: 4 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5592, allocations: 3.938 kB / 0.6143 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.5596, allocations: 204.2 kB / 0.6145 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/0.5598, allocations: 96.91 kB / 0.6146 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.5598, allocations: 4 kB / 0.6146 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.56, allocations: 4 kB / 0.6146 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.5601, allocations: 11.92 kB / 0.6146 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.5601, allocations: 8 kB / 0.6146 GB, free: 4.516 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002242/0.5603, allocations: 147.2 kB / 0.6148 GB, free: 4.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5603, allocations: 0 / 0.6148 GB, free: 4.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005141/0.5609, allocations: 39.92 kB / 0.6148 GB, free: 4.332 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.001731/0.5626, allocations: 468.9 kB / 0.6153 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.5629, allocations: 67.89 kB / 0.6153 GB, free: 3.969 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5629, allocations: 0 / 0.6153 GB, free: 3.969 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.796e-05/0.563, allocations: 31.94 kB / 0.6154 GB, free: 3.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.5635, allocations: 32.09 kB / 0.6154 GB, free: 3.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.5641, allocations: 283.8 kB / 0.6157 GB, free: 3.594 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.5645, allocations: 0.7043 MB / 0.6163 GB, free: 2.863 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.5646, allocations: 19.42 kB / 0.6164 GB, free: 2.844 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5646, allocations: 0 / 0.6164 GB, free: 2.844 MB / 426.7 MB Notification: Performance of Templates: time 0.006355/0.571, allocations: 1.98 MB / 0.6183 GB, free: 0.8672 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches