Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 105.2 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3576/0.3576, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3293, allocations: 62.02 MB / 0.5152 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003432/0.3328, allocations: 2.005 MB / 0.5171 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3345, allocations: 1.059 MB / 0.5182 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.3346, allocations: 6.875 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.335, allocations: 44.48 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.3353, allocations: 80.36 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.3357, allocations: 106.2 kB / 0.5184 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.336, allocations: 141.5 kB / 0.5185 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3361, allocations: 23.77 kB / 0.5185 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3362, allocations: 59.94 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.3363, allocations: 47.16 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.3363, allocations: 9.625 kB / 0.5186 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3364, allocations: 46.94 kB / 0.5187 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.3365, allocations: 20.69 kB / 0.5187 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.3366, allocations: 50.92 kB / 0.5188 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.3368, allocations: 151.3 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3368, allocations: 3.281 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3368, allocations: 4 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3368, allocations: 0 / 0.5189 GB, free: 35.18 MB / 378.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.0006047/0.3374, allocations: 478.1 kB / 0.5194 GB, free: 34.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3375, allocations: 8.469 kB / 0.5194 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.3375, allocations: 17.12 kB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.3378, allocations: 230.3 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3378, allocations: 7.281 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.3378, allocations: 13.53 kB / 0.5196 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.338, allocations: 111.1 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3381, allocations: 0 / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3381, allocations: 3.938 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3381, allocations: 6.141 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.3382, allocations: 50.25 kB / 0.5198 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.3387, allocations: 0.5065 MB / 0.5203 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.3391, allocations: 97.08 kB / 0.5204 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.471e-05/0.3392, allocations: 34.83 kB / 0.5204 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3392, allocations: 2.938 kB / 0.5204 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.3394, allocations: 86.84 kB / 0.5205 GB, free: 33.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3395, allocations: 0 / 0.5205 GB, free: 33.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003676/0.3398, allocations: 150.7 kB / 0.5206 GB, free: 33.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.3399, allocations: 55.34 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.34, allocations: 204.1 kB / 0.5209 GB, free: 33.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.34, allocations: 25.7 kB / 0.5209 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.3401, allocations: 115.4 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.3401, allocations: 29.73 kB / 0.5211 GB, free: 33.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.3402, allocations: 31.61 kB / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.3402, allocations: 325 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.3403, allocations: 30.52 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.3404, allocations: 65.41 kB / 0.5215 GB, free: 32.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3406, allocations: 99.27 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3406, allocations: 0 / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002377/0.3408, allocations: 137.8 kB / 0.5217 GB, free: 32.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3409, allocations: 5.906 kB / 0.5217 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3409, allocations: 3.984 kB / 0.5217 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3409, allocations: 2.781 kB / 0.5217 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.341, allocations: 28.84 kB / 0.5218 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.341, allocations: 2.938 kB / 0.5218 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.3411, allocations: 17.3 kB / 0.5218 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3411, allocations: 2.781 kB / 0.5218 GB, free: 32.77 MB / 378.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.3412, allocations: 126.3 kB / 0.5219 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.3412, allocations: 16.56 kB / 0.5219 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.3413, allocations: 15.98 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3413, allocations: 6.812 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3413, allocations: 4 kB / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3413, allocations: 0 / 0.5219 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.3414, allocations: 214 kB / 0.5221 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3414, allocations: 7.875 kB / 0.5222 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.3415, allocations: 8.688 kB / 0.5222 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3415, allocations: 3.062 kB / 0.5222 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3415, allocations: 7.422 kB / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3415, allocations: 3.938 kB / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3415, allocations: 3.938 kB / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.343, allocations: 1.42 MB / 0.5236 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.343, allocations: 93.14 kB / 0.5237 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.343, allocations: 0 / 0.5237 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-05/0.3431, allocations: 5.5 kB / 0.5237 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3431, allocations: 13.52 kB / 0.5237 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3432, allocations: 2.656 kB / 0.5237 GB, free: 31.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.92e-05/0.3432, allocations: 147.8 kB / 0.5238 GB, free: 30.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3433, allocations: 0 / 0.5238 GB, free: 30.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.3436, allocations: 45.69 kB / 0.5239 GB, free: 30.93 MB / 378.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.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007976/0.3444, allocations: 404.8 kB / 0.5242 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.3446, allocations: 83.14 kB / 0.5243 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3446, allocations: 0 / 0.5243 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.3447, allocations: 42.19 kB / 0.5244 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.345, allocations: 36.97 kB / 0.5244 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.3455, allocations: 427.7 kB / 0.5248 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.3456, allocations: 0.7133 MB / 0.5255 GB, free: 29.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.297e-05/0.3457, allocations: 20.31 kB / 0.5255 GB, free: 29.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.3457, allocations: 19.42 kB / 0.5255 GB, free: 29.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3457, allocations: 4 kB / 0.5255 GB, free: 29.62 MB / 378.7 MB Notification: Performance of Templates: time 0.00402/0.3498, allocations: 1.896 MB / 0.5274 GB, free: 29.42 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches