Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007955/0.0007954, allocations: 94.62 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2054/0.2054, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.64e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.124, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.5991, allocations: 88.7 MB / 0.5526 GB, free: 6.715 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004335/0.5997, allocations: 74.16 kB / 0.5526 GB, free: 6.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01274/0.6125, allocations: 4.804 MB / 0.5573 GB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6125, allocations: 0 / 0.5573 GB, free: 2.777 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.6126, allocations: 4 kB / 0.5573 GB, free: 2.773 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007851/0.6133, allocations: 0.5266 MB / 0.5578 GB, free: 2.199 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.6134, allocations: 12.03 kB / 0.5578 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.6135, allocations: 23.22 kB / 0.5579 GB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.6138, allocations: 247.3 kB / 0.5581 GB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.6139, allocations: 0 / 0.5581 GB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.6139, allocations: 11.94 kB / 0.5581 GB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001367/0.614, allocations: 54.92 kB / 0.5582 GB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.6142, allocations: 106.4 kB / 0.5583 GB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6142, allocations: 4 kB / 0.5583 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.6143, allocations: 3.984 kB / 0.5583 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.6143, allocations: 8 kB / 0.5583 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.615, allocations: 0.5599 MB / 0.5588 GB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.6153, allocations: 95.98 kB / 0.5589 GB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/0.6154, allocations: 38.11 kB / 0.559 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.6154, allocations: 0 / 0.559 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.6156, allocations: 112.6 kB / 0.5591 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.6156, allocations: 0 / 0.5591 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.00026/0.6158, allocations: 132.3 kB / 0.5592 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.6159, allocations: 58.47 kB / 0.5592 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.616, allocations: 191.9 kB / 0.5594 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.6161, allocations: 25.7 kB / 0.5595 GB, free: 0.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.6161, allocations: 130.6 kB / 0.5596 GB, free: 484 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.6162, allocations: 30.25 kB / 0.5596 GB, free: 456 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/0.6162, allocations: 4 kB / 0.5596 GB, free: 452 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.6163, allocations: 331.4 kB / 0.5599 GB, free: 120 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.6163, allocations: 32.75 kB / 0.56 GB, free: 100 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.6164, allocations: 76.03 kB / 0.56 GB, free: 28 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.628e-05/0.6165, allocations: 38.11 kB / 0.5601 GB, free: 0 / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6165, allocations: 0 / 0.5601 GB, free: 0 / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002846/0.6168, allocations: 152.3 kB / 0.5602 GB, free: 15.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.6168, allocations: 33.7 kB / 0.5602 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6168, allocations: 3.984 kB / 0.5603 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6169, allocations: 7.953 kB / 0.5603 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.6171, allocations: 46.59 kB / 0.5603 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6171, allocations: 4 kB / 0.5603 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.6173, allocations: 27.88 kB / 0.5603 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.6173, allocations: 8 kB / 0.5603 GB, free: 15.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.6174, allocations: 119.8 kB / 0.5605 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.6175, allocations: 19.81 kB / 0.5605 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.6178, allocations: 139.4 kB / 0.5606 GB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6178, allocations: 7.953 kB / 0.5606 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6178, allocations: 3.938 kB / 0.5606 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.6178, allocations: 3.984 kB / 0.5606 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.618, allocations: 210.6 kB / 0.5608 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.618, allocations: 0 / 0.5608 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.6182, allocations: 39.91 kB / 0.5609 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6182, allocations: 0 / 0.5609 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.6182, allocations: 0 / 0.5609 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.6182, allocations: 7.938 kB / 0.5609 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.6182, allocations: 3.984 kB / 0.5609 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.6186, allocations: 215.3 kB / 0.5611 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.6187, allocations: 96.73 kB / 0.5612 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.6187, allocations: 7.984 kB / 0.5612 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.6189, allocations: 32.03 kB / 0.5612 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.619, allocations: 19.22 kB / 0.5612 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.619, allocations: 4 kB / 0.5612 GB, free: 14.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.6192, allocations: 155.7 kB / 0.5614 GB, free: 14.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6192, allocations: 0 / 0.5614 GB, free: 14.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002768/0.6195, allocations: 43.89 kB / 0.5614 GB, free: 14.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008553/0.6203, allocations: 372.6 kB / 0.5618 GB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.6206, allocations: 153.5 kB / 0.5619 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6206, allocations: 0 / 0.5619 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.6207, allocations: 42.75 kB / 0.562 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.621, allocations: 41.47 kB / 0.562 GB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.6216, allocations: 222.4 kB / 0.5622 GB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.622, allocations: 0.7319 MB / 0.5629 GB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.901e-05/0.6221, allocations: 21.33 kB / 0.563 GB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.6221, allocations: 22.17 kB / 0.563 GB, free: 13.15 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6221, allocations: 0 / 0.563 GB, free: 13.15 MB / 378.7 MB Notification: Performance of Templates: time 0.005591/0.6277, allocations: 2.439 MB / 0.5654 GB, free: 10.74 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches