Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 117.2 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.001732/0.001732, allocations: 206.7 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.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2102/0.2102, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001616, allocations: 80.2 kB / 482.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3177, allocations: 62.44 MB / 0.5318 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003179/0.3209, allocations: 1.732 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3227, allocations: 1.012 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.3228, allocations: 9.312 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.3231, allocations: 37.41 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.3234, allocations: 95.03 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.3236, allocations: 78.97 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.3237, allocations: 102.3 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3239, allocations: 14.86 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.164e-05/0.324, allocations: 44.28 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.3241, allocations: 33.42 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.3241, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3242, allocations: 39.48 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.3243, allocations: 22.78 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.3243, allocations: 43.97 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3245, allocations: 120.7 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3246, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3246, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3246, allocations: 1.375 kB / 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.0006229/0.3252, allocations: 408.9 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3253, allocations: 8.594 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.3253, allocations: 13.84 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.3257, allocations: 211.5 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3257, allocations: 5.875 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3257, allocations: 6.406 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3259, allocations: 57.83 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3259, allocations: 0.875 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.326, allocations: 0.9062 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.326, allocations: 4.844 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.326, allocations: 18.3 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.3264, allocations: 281.7 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3266, allocations: 70.3 kB / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.3266, allocations: 17.8 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.3266, allocations: 4.906 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.3268, allocations: 68.62 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3268, allocations: 0.9688 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005203/0.3273, allocations: 169.7 kB / 0.5363 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.3274, allocations: 52.53 kB / 0.5364 GB, free: 9.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.3275, allocations: 185.2 kB / 0.5366 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3276, allocations: 30.83 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.3276, allocations: 104.4 kB / 0.5367 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.3277, allocations: 27.83 kB / 0.5367 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.3277, allocations: 28.36 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3278, allocations: 326.3 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.3279, allocations: 19.28 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.328, allocations: 43.2 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.3281, allocations: 58.55 kB / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3281, allocations: 1.188 kB / 0.5372 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000186/0.3283, allocations: 102.9 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3283, allocations: 5.188 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3283, allocations: 1.312 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3283, allocations: 1.156 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.3284, allocations: 12.75 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3284, allocations: 1.5 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.3285, allocations: 9.328 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3285, allocations: 6.562 kB / 0.5373 GB, free: 8.895 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.0001063/0.3286, allocations: 127.7 kB / 0.5374 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.3287, allocations: 13.34 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.3287, allocations: 18.36 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3287, allocations: 0 / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3287, allocations: 0 / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.3288, allocations: 84.39 kB / 0.5375 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3288, allocations: 9.031 kB / 0.5376 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.3289, allocations: 10.39 kB / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.3289, allocations: 2.719 kB / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002283/0.3291, allocations: 176.6 kB / 0.5377 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002818/0.3294, allocations: 274.3 kB / 0.538 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.658e-05/0.3295, allocations: 33.39 kB / 0.538 GB, free: 8.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.3296, allocations: 139.7 kB / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.3296, allocations: 0 / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.3311, allocations: 484.8 kB / 0.5386 GB, free: 7.895 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007958/0.3319, allocations: 0.6714 MB / 0.5393 GB, free: 7.242 MB / 398.1 MB Notification: Performance of Templates: time 0.005047/0.337, allocations: 1.763 MB / 0.541 GB, free: 6.359 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches