Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 114.8 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.001137/0.001137, 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.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 75.88 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3227, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002934/0.3257, allocations: 1.735 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3273, allocations: 1.025 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.612e-05/0.3274, allocations: 5.25 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.3277, allocations: 49.28 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.3281, allocations: 106 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.3283, allocations: 79.78 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.3285, allocations: 101.2 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3286, allocations: 9.781 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.712e-05/0.3287, allocations: 48.34 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.471e-05/0.3288, allocations: 38.78 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3288, allocations: 7.344 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.3289, allocations: 40.95 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.329, allocations: 22.77 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.974e-05/0.329, allocations: 52.28 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.3293, allocations: 137.5 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3293, allocations: 0 / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3293, allocations: 0 / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3293, allocations: 0 / 0.5351 GB, free: 10.99 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.0005664/0.3299, allocations: 442.3 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3299, allocations: 12.31 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.33, allocations: 15.91 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.3303, allocations: 228.2 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3303, allocations: 1.5 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3303, allocations: 6.531 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3305, allocations: 57.48 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3305, allocations: 1.031 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3305, allocations: 0 / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3305, allocations: 1 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.3306, allocations: 26.92 kB / 0.5359 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.331, allocations: 295.5 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3312, allocations: 54.78 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.3312, allocations: 25.08 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.3313, allocations: 1.375 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.3314, allocations: 73.08 kB / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.3314, allocations: 0 / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005221/0.332, allocations: 189 kB / 0.5365 GB, free: 9.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.332, allocations: 52.78 kB / 0.5365 GB, free: 9.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.3323, allocations: 271 kB / 0.5368 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3323, allocations: 27.11 kB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.3324, allocations: 114.8 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.3324, allocations: 31.91 kB / 0.5369 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.3325, allocations: 20.38 kB / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3326, allocations: 335.9 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.093e-05/0.3327, allocations: 18.84 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.3327, allocations: 39.08 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3329, allocations: 63.48 kB / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3329, allocations: 0 / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.3331, allocations: 101.9 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3331, allocations: 4.25 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3331, allocations: 1.031 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3331, allocations: 5.078 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.3332, allocations: 17.72 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.3332, allocations: 0 / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.3333, allocations: 2.125 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3333, allocations: 15.31 kB / 0.5375 GB, free: 8.746 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.0001062/0.3334, allocations: 133.9 kB / 0.5377 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.3335, allocations: 17.86 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.3335, allocations: 17.97 kB / 0.5377 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3335, allocations: 0 / 0.5377 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3335, allocations: 0 / 0.5377 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.3336, allocations: 96.44 kB / 0.5378 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.3336, allocations: 6.094 kB / 0.5378 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.3337, allocations: 5.031 kB / 0.5378 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.3337, allocations: 11.77 kB / 0.5378 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002285/0.334, allocations: 172.3 kB / 0.538 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002576/0.3342, allocations: 276.1 kB / 0.5382 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.775e-05/0.3343, allocations: 29.45 kB / 0.5383 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.3345, allocations: 207.2 kB / 0.5385 GB, free: 7.949 MB / 398.1 MB Notification: Performance of Backend: time 1.754e-06/0.3345, allocations: 4 kB / 0.5385 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.3359, allocations: 488.5 kB / 0.5389 GB, free: 7.719 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007712/0.3367, allocations: 0.7152 MB / 0.5396 GB, free: 7.055 MB / 398.1 MB Notification: Performance of Templates: time 0.004845/0.3416, allocations: 1.83 MB / 0.5414 GB, free: 6.133 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches