Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.26/2.26, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 86.69 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2829/0.2829, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.684e-05/4.706e-05, allocations: 4 kB / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1548, allocations: 58.86 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.623/0.7778, allocations: 87.48 MB / 0.5582 GB, free: 104 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.7782, allocations: 71.44 kB / 0.5583 GB, free: 72 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03219/0.8104, allocations: 6.5 MB / 0.5647 GB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.8105, allocations: 0 / 0.5647 GB, free: 10.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.661e-05/0.8105, allocations: 8 kB / 0.5647 GB, free: 10.49 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009794/0.8115, allocations: 0.5941 MB / 0.5652 GB, free: 9.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8116, allocations: 8.031 kB / 0.5652 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.8117, allocations: 47.44 kB / 0.5653 GB, free: 9.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.813, allocations: 480.2 kB / 0.5657 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.8131, allocations: 15.95 kB / 0.5658 GB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.8131, allocations: 7.562 kB / 0.5658 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.8133, allocations: 82.75 kB / 0.5659 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.8134, allocations: 0 / 0.5659 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.8134, allocations: 7.938 kB / 0.5659 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.8134, allocations: 0 / 0.5659 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.8135, allocations: 27.3 kB / 0.5659 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.8141, allocations: 389.2 kB / 0.5663 GB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.8144, allocations: 96.17 kB / 0.5663 GB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.8145, allocations: 41.17 kB / 0.5664 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.8146, allocations: 4 kB / 0.5664 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.8148, allocations: 108.4 kB / 0.5665 GB, free: 8.602 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.435e-06/0.8149, allocations: 0 / 0.5665 GB, free: 8.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005275/0.8154, allocations: 168 kB / 0.5667 GB, free: 8.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.8155, allocations: 80.98 kB / 0.5667 GB, free: 8.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.8176, allocations: 0.9258 MB / 0.5676 GB, free: 7.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.8176, allocations: 36.88 kB / 0.5677 GB, free: 7.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.8178, allocations: 248.4 kB / 0.5679 GB, free: 7.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.8179, allocations: 23.09 kB / 0.5679 GB, free: 7.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.8179, allocations: 3.688 kB / 0.5679 GB, free: 7.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.818, allocations: 322.5 kB / 0.5682 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.8181, allocations: 23 kB / 0.5683 GB, free: 7.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.8183, allocations: 54.42 kB / 0.5683 GB, free: 7.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.8184, allocations: 41.05 kB / 0.5684 GB, free: 6.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.8184, allocations: 0 / 0.5684 GB, free: 6.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003172/0.8187, allocations: 117.3 kB / 0.5685 GB, free: 6.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.8188, allocations: 4 kB / 0.5685 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.8188, allocations: 8 kB / 0.5685 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8188, allocations: 0 / 0.5685 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.819, allocations: 27.92 kB / 0.5685 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.8191, allocations: 0 / 0.5685 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.8193, allocations: 19.19 kB / 0.5685 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.8193, allocations: 7.984 kB / 0.5685 GB, free: 6.828 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0001079/0.8195, allocations: 115.9 kB / 0.5686 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.8196, allocations: 51.34 kB / 0.5687 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000549/0.8202, allocations: 202.5 kB / 0.5689 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8202, allocations: 0 / 0.5689 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8202, allocations: 0 / 0.5689 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8202, allocations: 0 / 0.5689 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.8207, allocations: 397.5 kB / 0.5693 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8208, allocations: 3.938 kB / 0.5693 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.8209, allocations: 15.94 kB / 0.5693 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8209, allocations: 0 / 0.5693 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.8209, allocations: 3.984 kB / 0.5693 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.8209, allocations: 4 kB / 0.5693 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8209, allocations: 0 / 0.5693 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.8214, allocations: 226.8 kB / 0.5695 GB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.8218, allocations: 194.5 kB / 0.5697 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.8219, allocations: 3.375 kB / 0.5697 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.8221, allocations: 11.98 kB / 0.5697 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.8222, allocations: 4 kB / 0.5697 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.8222, allocations: 15.42 kB / 0.5697 GB, free: 5.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001412/0.8237, allocations: 0.7435 MB / 0.5704 GB, free: 5.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.655e-06/0.8237, allocations: 0 / 0.5704 GB, free: 5.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00051/0.8242, allocations: 90.98 kB / 0.5705 GB, free: 5.016 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001159/0.8254, allocations: 388.2 kB / 0.5709 GB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.8257, allocations: 83.42 kB / 0.571 GB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8257, allocations: 0 / 0.571 GB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.8259, allocations: 42 kB / 0.571 GB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006498/0.8265, allocations: 68.62 kB / 0.5711 GB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.8285, allocations: 0.8181 MB / 0.5719 GB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.8292, allocations: 0.851 MB / 0.5727 GB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.8294, allocations: 47.23 kB / 0.5728 GB, free: 2.887 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.8294, allocations: 0 / 0.5728 GB, free: 2.887 MB / 378.7 MB Notification: Performance of Templates: time 0.015/0.8444, allocations: 5.615 MB / 0.5782 GB, free: 13.3 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches