Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 200.5 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009433/0.0009431, allocations: 91.2 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4061/0.4061, allocations: 44.82 MB / 394.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003047, allocations: 8 kB / 467.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3712, allocations: 62.96 MB / 0.5184 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4902, allocations: 91.57 MB / 0.6079 GB, free: 13.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4905, allocations: 79.94 kB / 0.6079 GB, free: 13.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.5048, allocations: 5.182 MB / 0.613 GB, free: 8.449 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.698e-06/0.5048, allocations: 0 / 0.613 GB, free: 8.449 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.5049, allocations: 11.94 kB / 0.613 GB, free: 8.438 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007166/0.5056, allocations: 496.7 kB / 0.6135 GB, free: 7.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.5056, allocations: 12.03 kB / 0.6135 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.5057, allocations: 16.75 kB / 0.6135 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.5061, allocations: 245.5 kB / 0.6137 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.5062, allocations: 4.375 kB / 0.6137 GB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.5062, allocations: 8.375 kB / 0.6137 GB, free: 7.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.5064, allocations: 108.8 kB / 0.6139 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.5065, allocations: 4.188 kB / 0.6139 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.5065, allocations: 3.938 kB / 0.6139 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5065, allocations: 0 / 0.6139 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.5066, allocations: 63.84 kB / 0.6139 GB, free: 7.383 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.5073, allocations: 0.5282 MB / 0.6144 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.5076, allocations: 86.67 kB / 0.6145 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.5077, allocations: 48.81 kB / 0.6146 GB, free: 6.652 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.5077, allocations: 0 / 0.6146 GB, free: 6.652 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.5079, allocations: 91.25 kB / 0.6147 GB, free: 6.551 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.5079, allocations: 4 kB / 0.6147 GB, free: 6.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003989/0.5083, allocations: 153.4 kB / 0.6148 GB, free: 6.391 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.5084, allocations: 55.39 kB / 0.6149 GB, free: 6.324 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.5086, allocations: 194.9 kB / 0.615 GB, free: 6.129 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.5086, allocations: 29.7 kB / 0.6151 GB, free: 6.094 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.5087, allocations: 115.9 kB / 0.6152 GB, free: 5.977 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.5087, allocations: 27.64 kB / 0.6152 GB, free: 5.949 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.5087, allocations: 4 kB / 0.6152 GB, free: 5.945 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5088, allocations: 334.8 kB / 0.6155 GB, free: 5.609 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.5089, allocations: 31.97 kB / 0.6156 GB, free: 5.578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.724e-05/0.509, allocations: 60.28 kB / 0.6156 GB, free: 5.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.5092, allocations: 113.2 kB / 0.6157 GB, free: 5.379 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5093, allocations: 0 / 0.6157 GB, free: 5.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002575/0.5095, allocations: 141.7 kB / 0.6159 GB, free: 5.234 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5095, allocations: 4 kB / 0.6159 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5096, allocations: 4.094 kB / 0.6159 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5096, allocations: 7.922 kB / 0.6159 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.5097, allocations: 24 kB / 0.6159 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5097, allocations: 7.922 kB / 0.6159 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.5098, allocations: 15.84 kB / 0.6159 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5098, allocations: 12.06 kB / 0.6159 GB, free: 5.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.945e-05/0.5099, allocations: 121.8 kB / 0.616 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.5099, allocations: 19.8 kB / 0.6161 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.5102, allocations: 139 kB / 0.6162 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5102, allocations: 0 / 0.6162 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5103, allocations: 4 kB / 0.6162 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5103, allocations: 4 kB / 0.6162 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.5104, allocations: 217.5 kB / 0.6164 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5105, allocations: 0 / 0.6164 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.5105, allocations: 12 kB / 0.6164 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5106, allocations: 7.938 kB / 0.6164 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.5106, allocations: 7.984 kB / 0.6164 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5106, allocations: 4 kB / 0.6164 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5106, allocations: 3.938 kB / 0.6164 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.511, allocations: 204.8 kB / 0.6166 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.5111, allocations: 92.89 kB / 0.6167 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.5111, allocations: 8 kB / 0.6167 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.5112, allocations: 7.984 kB / 0.6167 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.5112, allocations: 7.984 kB / 0.6168 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.5112, allocations: 4.062 kB / 0.6168 GB, free: 4.215 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.5113, allocations: 159.5 kB / 0.6169 GB, free: 4.062 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5113, allocations: 0 / 0.6169 GB, free: 4.062 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.5116, allocations: 36.12 kB / 0.6169 GB, free: 4.027 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009669/0.5126, allocations: 418.2 kB / 0.6173 GB, free: 3.754 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.5128, allocations: 91.95 kB / 0.6174 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5128, allocations: 0 / 0.6174 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.513, allocations: 39.97 kB / 0.6175 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.5133, allocations: 36.98 kB / 0.6175 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.5138, allocations: 300.2 kB / 0.6178 GB, free: 3.277 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.5141, allocations: 0.7204 MB / 0.6185 GB, free: 2.531 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.128e-05/0.5142, allocations: 17.06 kB / 0.6185 GB, free: 2.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.5142, allocations: 15.44 kB / 0.6185 GB, free: 2.496 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5142, allocations: 4 kB / 0.6185 GB, free: 2.492 MB / 426.7 MB Notification: Performance of Templates: time 0.00449/0.5187, allocations: 1.824 MB / 0.6203 GB, free: 0.6797 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches