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.00119/0.001191, allocations: 115.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, 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.2202/0.2202, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 79.88 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3242, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002839/0.3271, allocations: 1.735 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3286, allocations: 1.022 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.3287, allocations: 1.344 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.329, allocations: 53.88 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.3292, allocations: 98.97 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.3294, allocations: 86.66 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.3296, allocations: 102.1 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.3297, allocations: 10.84 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.408e-05/0.3298, allocations: 43.84 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.3299, allocations: 33.56 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.33, allocations: 4.594 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.3301, allocations: 39.83 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.3301, allocations: 31.12 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.3302, allocations: 49.91 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3304, allocations: 137.2 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3304, allocations: 1.156 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3304, allocations: 0 / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3304, allocations: 0 / 0.5351 GB, free: 11.01 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.0005293/0.331, allocations: 454.8 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.331, allocations: 8.938 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.3311, allocations: 16.41 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.3313, allocations: 226.4 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3314, allocations: 5.75 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3314, allocations: 14.86 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.3315, allocations: 50.05 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3316, allocations: 3.984 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3316, allocations: 5.375 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3316, allocations: 0 / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/0.3317, allocations: 18.98 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.332, allocations: 300.2 kB / 0.5362 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3322, allocations: 61.92 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.3322, allocations: 22.47 kB / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3323, allocations: 3.984 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.3324, allocations: 65.14 kB / 0.5363 GB, free: 9.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.594e-06/0.3324, allocations: 5.375 kB / 0.5363 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005194/0.3329, allocations: 184.6 kB / 0.5365 GB, free: 9.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.333, allocations: 52.78 kB / 0.5365 GB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.3332, allocations: 280 kB / 0.5368 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3333, allocations: 30.77 kB / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.3333, allocations: 119.8 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3334, allocations: 20.12 kB / 0.537 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.3334, allocations: 24.14 kB / 0.537 GB, free: 9.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3335, allocations: 336.2 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.3336, allocations: 18.98 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.3337, allocations: 39.89 kB / 0.5374 GB, free: 8.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.3338, allocations: 51.31 kB / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3338, allocations: 7.938 kB / 0.5374 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00019/0.334, allocations: 116.9 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.334, allocations: 5.281 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.334, allocations: 1.406 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.334, allocations: 1.031 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.3341, allocations: 16.34 kB / 0.5376 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3341, allocations: 0.9688 kB / 0.5376 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.3342, allocations: 6.672 kB / 0.5376 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3342, allocations: 6.5 kB / 0.5376 GB, free: 8.75 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 9.917e-05/0.3343, allocations: 135.5 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.3343, allocations: 23.44 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.3344, allocations: 24.48 kB / 0.5377 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3344, allocations: 1.062 kB / 0.5377 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3344, allocations: 0 / 0.5377 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3345, allocations: 88.48 kB / 0.5378 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3345, allocations: 5.281 kB / 0.5378 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.3346, allocations: 2.656 kB / 0.5378 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.3346, allocations: 10.3 kB / 0.5378 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002033/0.3348, allocations: 177.2 kB / 0.538 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002739/0.3351, allocations: 283.4 kB / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001062/0.3352, allocations: 25.2 kB / 0.5383 GB, free: 8.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.3354, allocations: 217.3 kB / 0.5385 GB, free: 7.941 MB / 398.1 MB Notification: Performance of Backend: time 3.01e-07/0.3354, allocations: 0 / 0.5385 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.3368, allocations: 0.4943 MB / 0.539 GB, free: 7.703 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006756/0.3374, allocations: 0.7223 MB / 0.5397 GB, free: 7.035 MB / 398.1 MB Notification: Performance of Templates: time 0.004694/0.3421, allocations: 1.867 MB / 0.5415 GB, free: 6.086 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