Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001203/0.001203, allocations: 122.3 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.09 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 71.88 kB / 482.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3545, allocations: 62.44 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003172/0.3577, allocations: 1.727 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3595, allocations: 1.027 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.3596, allocations: 1.375 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.3599, allocations: 53.64 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.3602, allocations: 99.16 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3605, allocations: 82.91 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3607, allocations: 100.9 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3608, allocations: 14.81 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.3609, allocations: 52.27 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.656e-05/0.361, allocations: 30.8 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.361, allocations: 2.75 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3611, allocations: 40.86 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.3612, allocations: 34.84 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.3612, allocations: 45.23 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.3615, allocations: 138.9 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3615, allocations: 0 / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3615, allocations: 1.375 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3615, allocations: 0 / 0.5351 GB, free: 11.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005644/0.3621, allocations: 464.8 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3621, allocations: 8.25 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.3622, allocations: 15.72 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.3625, allocations: 236.1 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3625, allocations: 5.688 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.3626, allocations: 6.812 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3627, allocations: 53.61 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3627, allocations: 0 / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3628, allocations: 1.469 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3628, allocations: 4 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.3629, allocations: 18.52 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.3632, allocations: 304.8 kB / 0.5362 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3634, allocations: 54.12 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.3635, allocations: 24.78 kB / 0.5363 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3635, allocations: 1.219 kB / 0.5363 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.3637, allocations: 69.45 kB / 0.5363 GB, free: 9.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.3637, allocations: 3.938 kB / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005881/0.3643, allocations: 181.1 kB / 0.5365 GB, free: 9.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.3643, allocations: 52.88 kB / 0.5366 GB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.3646, allocations: 292.8 kB / 0.5368 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3647, allocations: 30.89 kB / 0.5369 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.3648, allocations: 116 kB / 0.537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.3648, allocations: 19.23 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.3648, allocations: 24.48 kB / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.365, allocations: 332.6 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.3651, allocations: 22.77 kB / 0.5374 GB, free: 8.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.3652, allocations: 39.42 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3653, allocations: 58.64 kB / 0.5374 GB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3653, allocations: 1.031 kB / 0.5374 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.3655, allocations: 116.4 kB / 0.5376 GB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3655, allocations: 6.375 kB / 0.5376 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3656, allocations: 0 / 0.5376 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3656, allocations: 1.156 kB / 0.5376 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.3657, allocations: 21.11 kB / 0.5376 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3657, allocations: 1 kB / 0.5376 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.3657, allocations: 6.562 kB / 0.5376 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3658, allocations: 6.312 kB / 0.5376 GB, free: 8.738 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001091/0.3659, allocations: 134.5 kB / 0.5377 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3659, allocations: 15.53 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.366, allocations: 25.14 kB / 0.5378 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.366, allocations: 0 / 0.5378 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.366, allocations: 1.125 kB / 0.5378 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.366, allocations: 88.61 kB / 0.5378 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.3661, allocations: 9.156 kB / 0.5379 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.3661, allocations: 6.672 kB / 0.5379 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.3662, allocations: 6.219 kB / 0.5379 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002327/0.3664, allocations: 176.1 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002693/0.3667, allocations: 277.2 kB / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.018e-05/0.3668, allocations: 29.34 kB / 0.5383 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.367, allocations: 220.1 kB / 0.5385 GB, free: 7.934 MB / 398.1 MB Notification: Performance of Backend: time 5.61e-07/0.367, allocations: 1.344 kB / 0.5385 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.3684, allocations: 0.4914 MB / 0.539 GB, free: 7.695 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009407/0.3694, allocations: 0.724 MB / 0.5397 GB, free: 7.023 MB / 398.1 MB Notification: Performance of Templates: time 0.004972/0.3744, allocations: 1.823 MB / 0.5415 GB, free: 6.102 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches