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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.00129, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 83.88 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4323, allocations: 62.43 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00508/0.4375, allocations: 1.94 MB / 0.533 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.4397, allocations: 1.062 MB / 0.534 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.4399, allocations: 1.375 kB / 0.534 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.4404, allocations: 45.33 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.4408, allocations: 98.98 kB / 0.5341 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.4411, allocations: 97.64 kB / 0.5342 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.4415, allocations: 142.7 kB / 0.5344 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.4417, allocations: 29.91 kB / 0.5344 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.4418, allocations: 61.72 kB / 0.5344 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.442, allocations: 52.08 kB / 0.5345 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.442, allocations: 8.25 kB / 0.5345 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.4421, allocations: 46.23 kB / 0.5345 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.4422, allocations: 22.8 kB / 0.5346 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.4423, allocations: 59.92 kB / 0.5346 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.4427, allocations: 146.2 kB / 0.5348 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4427, allocations: 5.062 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4427, allocations: 0 / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.4427, allocations: 0 / 0.5348 GB, free: 10.93 MB / 398.1 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.0008432/0.4436, allocations: 489.1 kB / 0.5352 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.4436, allocations: 9.656 kB / 0.5352 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/0.4437, allocations: 20.09 kB / 0.5353 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.4442, allocations: 236 kB / 0.5355 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4442, allocations: 7.75 kB / 0.5355 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.4442, allocations: 12.47 kB / 0.5355 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.4445, allocations: 113.9 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4446, allocations: 1.125 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.4446, allocations: 5.312 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4446, allocations: 1.125 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.4448, allocations: 43.06 kB / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007035/0.4455, allocations: 0.5033 MB / 0.5362 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.4458, allocations: 88.19 kB / 0.5362 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.446, allocations: 40.31 kB / 0.5363 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.446, allocations: 5.125 kB / 0.5363 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.4462, allocations: 76.78 kB / 0.5364 GB, free: 9.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.4462, allocations: 1.094 kB / 0.5364 GB, free: 9.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004409/0.4467, allocations: 146.2 kB / 0.5365 GB, free: 9.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.4467, allocations: 57.72 kB / 0.5366 GB, free: 9.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.447, allocations: 198.4 kB / 0.5367 GB, free: 9.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.447, allocations: 26.86 kB / 0.5368 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.4472, allocations: 122.8 kB / 0.5369 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.4472, allocations: 32.11 kB / 0.5369 GB, free: 8.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.4473, allocations: 34.98 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4474, allocations: 326.2 kB / 0.5373 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.4475, allocations: 41.11 kB / 0.5373 GB, free: 8.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.4476, allocations: 68.02 kB / 0.5374 GB, free: 8.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.4478, allocations: 97.28 kB / 0.5375 GB, free: 8.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4478, allocations: 4 kB / 0.5375 GB, free: 8.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002957/0.4481, allocations: 134.1 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4482, allocations: 6.062 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4482, allocations: 1.375 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.4482, allocations: 1.25 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.4483, allocations: 30.86 kB / 0.5376 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4483, allocations: 1.375 kB / 0.5376 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.4484, allocations: 17.61 kB / 0.5376 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.4484, allocations: 3.719 kB / 0.5376 GB, free: 8.297 MB / 398.1 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 0.0001389/0.4486, allocations: 131 kB / 0.5378 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.4486, allocations: 15 kB / 0.5378 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.4487, allocations: 22.05 kB / 0.5378 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.4487, allocations: 4.906 kB / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4487, allocations: 0 / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4487, allocations: 5 kB / 0.5378 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.4489, allocations: 210 kB / 0.538 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4489, allocations: 9.047 kB / 0.538 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.449, allocations: 9.781 kB / 0.538 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.449, allocations: 0 / 0.538 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.449, allocations: 1.312 kB / 0.538 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.449, allocations: 5.25 kB / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.449, allocations: 0 / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.4494, allocations: 189.8 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.4495, allocations: 83.98 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.4495, allocations: 1.312 kB / 0.5383 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.4496, allocations: 16.14 kB / 0.5383 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.4496, allocations: 3.156 kB / 0.5383 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.4497, allocations: 3.375 kB / 0.5383 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.4498, allocations: 146.1 kB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4498, allocations: 0 / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.4501, allocations: 27.64 kB / 0.5385 GB, free: 7.535 MB / 398.1 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.001104/0.4512, allocations: 421.9 kB / 0.5389 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.4515, allocations: 74.17 kB / 0.539 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4515, allocations: 1.156 kB / 0.539 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.4516, allocations: 38.36 kB / 0.539 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.4519, allocations: 43.86 kB / 0.539 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.4526, allocations: 266.5 kB / 0.5393 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.453, allocations: 0.7122 MB / 0.54 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.092e-05/0.4531, allocations: 22.84 kB / 0.54 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.4532, allocations: 28.91 kB / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4532, allocations: 0 / 0.54 GB, free: 6.293 MB / 398.1 MB Notification: Performance of Templates: time 0.006944/0.4601, allocations: 1.899 MB / 0.5419 GB, free: 5.34 MB / 398.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches