Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009554/0.0009554, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, 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.0007629/0.0007628, allocations: 103.6 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3464/0.3464, allocations: 44.82 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003024, allocations: 16 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2987, allocations: 62.95 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.4088, allocations: 91.41 MB / 0.6057 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.409, allocations: 79.95 kB / 0.6058 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02093/0.43, allocations: 8.099 MB / 0.6137 GB, free: 5.773 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.43, allocations: 0 / 0.6137 GB, free: 5.773 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.43, allocations: 8 kB / 0.6137 GB, free: 5.766 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007521/0.4308, allocations: 0.5546 MB / 0.6143 GB, free: 5.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4308, allocations: 12.03 kB / 0.6143 GB, free: 5.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.4309, allocations: 28.66 kB / 0.6143 GB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.4314, allocations: 315.4 kB / 0.6146 GB, free: 4.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4314, allocations: 4.375 kB / 0.6146 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.4314, allocations: 4.375 kB / 0.6146 GB, free: 4.758 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.4317, allocations: 115.3 kB / 0.6147 GB, free: 4.633 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4317, allocations: 192 / 0.6147 GB, free: 4.633 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.4317, allocations: 11.94 kB / 0.6147 GB, free: 4.621 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4317, allocations: 3.984 kB / 0.6148 GB, free: 4.617 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.4318, allocations: 47.95 kB / 0.6148 GB, free: 4.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.4324, allocations: 393.5 kB / 0.6152 GB, free: 4.133 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.4326, allocations: 125.2 kB / 0.6153 GB, free: 3.992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.4328, allocations: 45.69 kB / 0.6153 GB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.4328, allocations: 3.938 kB / 0.6153 GB, free: 3.938 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.433, allocations: 117.1 kB / 0.6155 GB, free: 3.805 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.433, allocations: 0 / 0.6155 GB, free: 3.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004526/0.4335, allocations: 201.2 kB / 0.6156 GB, free: 3.602 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.4335, allocations: 106.8 kB / 0.6157 GB, free: 3.473 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.4339, allocations: 351.3 kB / 0.6161 GB, free: 3.121 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.434, allocations: 29.7 kB / 0.6161 GB, free: 3.086 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.4341, allocations: 144.1 kB / 0.6162 GB, free: 2.941 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.4341, allocations: 31.77 kB / 0.6163 GB, free: 2.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.4341, allocations: 0 / 0.6163 GB, free: 2.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4343, allocations: 338.8 kB / 0.6166 GB, free: 2.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.929e-05/0.4343, allocations: 31.98 kB / 0.6166 GB, free: 2.539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.4345, allocations: 90.83 kB / 0.6167 GB, free: 2.434 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.4347, allocations: 103.3 kB / 0.6168 GB, free: 2.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4347, allocations: 0 / 0.6168 GB, free: 2.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002775/0.435, allocations: 153.2 kB / 0.617 GB, free: 2.164 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.435, allocations: 4 kB / 0.617 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.435, allocations: 8.031 kB / 0.617 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.435, allocations: 4 kB / 0.617 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.4351, allocations: 23.98 kB / 0.617 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4351, allocations: 7.938 kB / 0.617 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.4352, allocations: 8 kB / 0.617 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4353, allocations: 4 kB / 0.617 GB, free: 2.105 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001395/0.4354, allocations: 154.4 kB / 0.6172 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.4355, allocations: 27.62 kB / 0.6172 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.4358, allocations: 179.4 kB / 0.6174 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4358, allocations: 0 / 0.6174 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4358, allocations: 0 / 0.6174 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4359, allocations: 4 kB / 0.6174 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.4361, allocations: 273.4 kB / 0.6176 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4361, allocations: 0 / 0.6176 GB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.4362, allocations: 12 kB / 0.6176 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4362, allocations: 0 / 0.6176 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.4362, allocations: 11.98 kB / 0.6177 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4362, allocations: 7.938 kB / 0.6177 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4362, allocations: 0 / 0.6177 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.4365, allocations: 193.6 kB / 0.6178 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/0.4366, allocations: 120.7 kB / 0.618 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.4367, allocations: 0 / 0.618 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.4368, allocations: 23.92 kB / 0.618 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.4368, allocations: 7.984 kB / 0.618 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.4368, allocations: 4 kB / 0.618 GB, free: 1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002761/0.4371, allocations: 257.9 kB / 0.6182 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4371, allocations: 0 / 0.6182 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.4374, allocations: 51.92 kB / 0.6183 GB, free: 0.6953 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008722/0.4383, allocations: 430.6 kB / 0.6187 GB, free: 424 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.4386, allocations: 107.9 kB / 0.6188 GB, free: 316 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4386, allocations: 0 / 0.6188 GB, free: 316 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.4387, allocations: 51.92 kB / 0.6189 GB, free: 264 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.4391, allocations: 60.41 kB / 0.6189 GB, free: 204 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.4398, allocations: 480.5 kB / 0.6194 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.4401, allocations: 0.744 MB / 0.6201 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.4402, allocations: 27.38 kB / 0.6201 GB, free: 14.89 MB / 442.7 MB Notification: Performance of SimCode: time 3e-07/0.4402, allocations: 0 / 0.6201 GB, free: 14.89 MB / 442.7 MB Notification: Performance of Templates: time 0.005174/0.4454, allocations: 3.419 MB / 0.6235 GB, free: 11.49 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches