Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.6 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.2182/0.2182, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 76.11 kB / 482.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3984, allocations: 62.44 MB / 0.5318 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003234/0.4017, allocations: 1.734 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.4035, allocations: 1.02 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.4035, allocations: 1.125 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.4038, allocations: 41.31 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.4041, allocations: 95.5 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.4043, allocations: 86.84 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.4045, allocations: 97.84 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.4047, allocations: 10.44 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.4048, allocations: 49.08 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.4049, allocations: 33.58 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.4049, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.405, allocations: 43.39 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.4051, allocations: 32.09 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.4051, allocations: 32 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.4054, allocations: 127.4 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4054, allocations: 0 / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4054, allocations: 0 / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.4054, allocations: 0 / 0.5351 GB, free: 11.04 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.0006262/0.4061, allocations: 420.4 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4061, allocations: 9.625 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.4062, allocations: 16.88 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.4065, allocations: 221.9 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4065, allocations: 1.75 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.4065, allocations: 5.5 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4067, allocations: 54.05 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4067, allocations: 1.375 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4067, allocations: 0 / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4067, allocations: 1.375 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.4068, allocations: 21.55 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.4072, allocations: 292.3 kB / 0.5361 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.4074, allocations: 57.92 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.4075, allocations: 21.09 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.4075, allocations: 5.312 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.4077, allocations: 73.08 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.4077, allocations: 0 / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005386/0.4082, allocations: 179.1 kB / 0.5364 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.4083, allocations: 52.41 kB / 0.5364 GB, free: 9.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.4085, allocations: 204.3 kB / 0.5366 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.4085, allocations: 30.8 kB / 0.5367 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.4086, allocations: 101.4 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.4086, allocations: 26.88 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.4087, allocations: 28.39 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4088, allocations: 327.1 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.4089, allocations: 22.36 kB / 0.5371 GB, free: 9.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.409, allocations: 35.92 kB / 0.5372 GB, free: 8.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.4091, allocations: 55.38 kB / 0.5372 GB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4091, allocations: 4 kB / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.4093, allocations: 104.3 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4093, allocations: 5.375 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4093, allocations: 1.375 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4094, allocations: 7.875 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.4095, allocations: 21.92 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4095, allocations: 1.312 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.4095, allocations: 1.031 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4095, allocations: 7.219 kB / 0.5374 GB, free: 8.867 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.0001088/0.4097, allocations: 135.8 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.4097, allocations: 10.34 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.4097, allocations: 15 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4097, allocations: 0 / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4098, allocations: 0 / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.4099, allocations: 92.34 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.41, allocations: 9.188 kB / 0.5376 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.135e-05/0.41, allocations: 2.219 kB / 0.5376 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.4101, allocations: 7.391 kB / 0.5376 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002746/0.4103, allocations: 180.5 kB / 0.5378 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002999/0.4106, allocations: 270.1 kB / 0.5381 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.74e-05/0.4107, allocations: 33.89 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.4109, allocations: 166.4 kB / 0.5383 GB, free: 8.078 MB / 398.1 MB Notification: Performance of Backend: time 2.21e-07/0.4109, allocations: 4.969 kB / 0.5383 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.4125, allocations: 474.7 kB / 0.5387 GB, free: 7.855 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007911/0.4133, allocations: 0.6781 MB / 0.5394 GB, free: 7.203 MB / 398.1 MB Notification: Performance of Templates: time 0.005093/0.4184, allocations: 1.79 MB / 0.5411 GB, free: 6.301 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches