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.001109/0.001114, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 227.4 MB / 246.9 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.1908/0.1908, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 71.89 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3193, allocations: 62.45 MB / 0.5311 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002938/0.3222, allocations: 1.723 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3238, allocations: 1.027 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.3239, allocations: 1.156 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.3242, allocations: 49.7 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.3245, allocations: 106.5 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.3247, allocations: 79.62 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.3249, allocations: 105.3 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.325, allocations: 10.83 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.52e-05/0.3251, allocations: 47.7 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.3252, allocations: 30.05 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3252, allocations: 3.406 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.104e-05/0.3253, allocations: 40.61 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.3254, allocations: 34.91 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.3254, allocations: 49.17 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3256, allocations: 138.3 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3256, allocations: 1.375 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3257, allocations: 0 / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3257, allocations: 0 / 0.5344 GB, free: 11 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.0005343/0.3262, allocations: 447 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3262, allocations: 9.625 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.3263, allocations: 19.56 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3266, allocations: 230.9 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3266, allocations: 9.688 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3266, allocations: 6.875 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3268, allocations: 54.05 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3268, allocations: 0 / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3268, allocations: 1.375 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3268, allocations: 0 / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.285e-05/0.3269, allocations: 18.98 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.3273, allocations: 308.3 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.3275, allocations: 57.88 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.3275, allocations: 21.09 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3276, allocations: 1.375 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.3277, allocations: 69.14 kB / 0.5356 GB, free: 9.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3277, allocations: 0 / 0.5356 GB, free: 9.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005013/0.3282, allocations: 185.5 kB / 0.5358 GB, free: 9.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.3283, allocations: 52.5 kB / 0.5359 GB, free: 9.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.3285, allocations: 284.3 kB / 0.5361 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3285, allocations: 26.83 kB / 0.5362 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.3286, allocations: 116.1 kB / 0.5363 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3287, allocations: 19.78 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.3287, allocations: 28.45 kB / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3288, allocations: 332 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.3289, allocations: 27.36 kB / 0.5367 GB, free: 8.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.329, allocations: 39.45 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.3291, allocations: 55.44 kB / 0.5367 GB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3291, allocations: 0 / 0.5367 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001848/0.3293, allocations: 121.4 kB / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3293, allocations: 4.75 kB / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3293, allocations: 1.125 kB / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3293, allocations: 1.125 kB / 0.5369 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/0.3294, allocations: 16.58 kB / 0.5369 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3294, allocations: 1.125 kB / 0.5369 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.3295, allocations: 6 kB / 0.5369 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.3295, allocations: 7.125 kB / 0.5369 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.000107/0.3296, allocations: 138.9 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3296, allocations: 15.44 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.3297, allocations: 25.27 kB / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3297, allocations: 5.094 kB / 0.5371 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3297, allocations: 0 / 0.5371 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3297, allocations: 9.078 kB / 0.5371 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.3301, allocations: 405.4 kB / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.3301, allocations: 0 / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.3302, allocations: 12.39 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3302, allocations: 5.062 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3302, allocations: 5.031 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3302, allocations: 1.094 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3302, allocations: 0.7188 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.3304, allocations: 210.4 kB / 0.5377 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.3305, allocations: 84.39 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.3305, allocations: 10.09 kB / 0.5378 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.3306, allocations: 6.172 kB / 0.5378 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.3306, allocations: 6.906 kB / 0.5378 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3306, allocations: 4.25 kB / 0.5378 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.3308, allocations: 216.3 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3308, allocations: 0 / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3311, allocations: 33.05 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009778/0.3321, allocations: 462.9 kB / 0.5385 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.3322, allocations: 57.17 kB / 0.5385 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3323, allocations: 1.344 kB / 0.5385 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.3323, allocations: 29.14 kB / 0.5386 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.3327, allocations: 41.2 kB / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.3331, allocations: 299.2 kB / 0.5389 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3334, allocations: 0.718 MB / 0.5396 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.3334, allocations: 17.69 kB / 0.5396 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.3335, allocations: 15.19 kB / 0.5396 GB, free: 6.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3335, allocations: 1.094 kB / 0.5396 GB, free: 6.488 MB / 398.1 MB Notification: Performance of Templates: time 0.00448/0.338, allocations: 1.77 MB / 0.5414 GB, free: 5.594 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches