Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 197 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008491/0.0008494, allocations: 91.08 kB / 297.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4676/0.4676, allocations: 44.81 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002963, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3818, allocations: 62.97 MB / 0.5184 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.5087, allocations: 90.47 MB / 0.6068 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.509, allocations: 79.95 kB / 0.6069 GB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.5274, allocations: 6.642 MB / 0.6133 GB, free: 8.105 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5274, allocations: 4 kB / 0.6133 GB, free: 8.102 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.5274, allocations: 11.94 kB / 0.6134 GB, free: 8.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000598/0.528, allocations: 466.6 kB / 0.6138 GB, free: 7.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5281, allocations: 11.97 kB / 0.6138 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.5282, allocations: 12.84 kB / 0.6138 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.5285, allocations: 240.9 kB / 0.6141 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.5285, allocations: 4.375 kB / 0.6141 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.5286, allocations: 4.375 kB / 0.6141 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.5287, allocations: 50.23 kB / 0.6141 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.5287, allocations: 192 / 0.6141 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5287, allocations: 3.938 kB / 0.6141 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5287, allocations: 3.938 kB / 0.6141 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.744e-05/0.5288, allocations: 15.98 kB / 0.6141 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.529, allocations: 197.7 kB / 0.6143 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.5292, allocations: 62.61 kB / 0.6144 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.5293, allocations: 16.86 kB / 0.6144 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.5293, allocations: 0 / 0.6144 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.5295, allocations: 67.33 kB / 0.6145 GB, free: 6.785 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.5295, allocations: 0 / 0.6145 GB, free: 6.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002716/0.5298, allocations: 109.4 kB / 0.6146 GB, free: 6.672 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.5298, allocations: 55.41 kB / 0.6146 GB, free: 6.605 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.5301, allocations: 264 kB / 0.6149 GB, free: 6.336 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.5301, allocations: 25.7 kB / 0.6149 GB, free: 6.305 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.5302, allocations: 116.1 kB / 0.615 GB, free: 6.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.5302, allocations: 19.75 kB / 0.615 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.5302, allocations: 0 / 0.615 GB, free: 6.168 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5303, allocations: 330.8 kB / 0.6153 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.934e-05/0.5304, allocations: 12 kB / 0.6154 GB, free: 5.824 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.5305, allocations: 41.62 kB / 0.6154 GB, free: 5.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.46e-05/0.5306, allocations: 41.7 kB / 0.6154 GB, free: 5.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5306, allocations: 0 / 0.6154 GB, free: 5.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001602/0.5307, allocations: 85.44 kB / 0.6155 GB, free: 5.641 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5308, allocations: 15.92 kB / 0.6155 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5308, allocations: 0 / 0.6155 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5308, allocations: 0 / 0.6155 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.5309, allocations: 15.97 kB / 0.6155 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5309, allocations: 4 kB / 0.6155 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.531, allocations: 4 kB / 0.6156 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.531, allocations: 4 kB / 0.6156 GB, free: 5.598 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 (7): * Single equations (assignments): 7 * 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.0001016/0.5311, allocations: 133.8 kB / 0.6157 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.5311, allocations: 23.73 kB / 0.6157 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.5313, allocations: 94.92 kB / 0.6158 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5313, allocations: 0 / 0.6158 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5314, allocations: 12 kB / 0.6158 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.5314, allocations: 3.984 kB / 0.6158 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.5315, allocations: 205.6 kB / 0.616 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5316, allocations: 0 / 0.616 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.5316, allocations: 8 kB / 0.616 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5316, allocations: 3.938 kB / 0.616 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.5316, allocations: 0 / 0.616 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5316, allocations: 0 / 0.616 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5316, allocations: 7.969 kB / 0.616 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.5318, allocations: 124.9 kB / 0.6161 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.5319, allocations: 96.92 kB / 0.6162 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.532, allocations: 11.92 kB / 0.6163 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.532, allocations: 0 / 0.6163 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.532, allocations: 4 kB / 0.6163 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.5321, allocations: 0 / 0.6163 GB, free: 4.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.5322, allocations: 200.6 kB / 0.6164 GB, free: 4.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5322, allocations: 0 / 0.6164 GB, free: 4.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.5325, allocations: 35.92 kB / 0.6165 GB, free: 4.555 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: 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 (6): * Single equations (assignments): 4 * 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.0009594/0.5334, allocations: 415.4 kB / 0.6169 GB, free: 4.285 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.5336, allocations: 43.92 kB / 0.6169 GB, free: 4.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5336, allocations: 0 / 0.6169 GB, free: 4.242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/0.5337, allocations: 27.98 kB / 0.6169 GB, free: 4.215 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.534, allocations: 19.98 kB / 0.617 GB, free: 4.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.5346, allocations: 298 kB / 0.6172 GB, free: 3.879 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.5349, allocations: 0.7199 MB / 0.618 GB, free: 3.133 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.339e-05/0.535, allocations: 16.42 kB / 0.618 GB, free: 3.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.5351, allocations: 19.44 kB / 0.618 GB, free: 3.098 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5351, allocations: 0 / 0.618 GB, free: 3.098 MB / 426.7 MB Notification: Performance of Templates: time 0.004751/0.5398, allocations: 1.653 MB / 0.6196 GB, free: 1.453 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches