Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 182.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008763/0.0008764, allocations: 94.84 kB / 270.2 MB, free: 13.37 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.2282/0.2282, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 58.86 MB / 490.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.6033, allocations: 87.57 MB / 0.5643 GB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.6036, allocations: 75.81 kB / 0.5644 GB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01653/0.6201, allocations: 6.457 MB / 0.5707 GB, free: 6.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6202, allocations: 0 / 0.5707 GB, free: 6.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.6202, allocations: 8 kB / 0.5707 GB, free: 6.645 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.0009715/0.6212, allocations: 0.7042 MB / 0.5714 GB, free: 5.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6212, allocations: 15.95 kB / 0.5714 GB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.762e-05/0.6213, allocations: 55.34 kB / 0.5714 GB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008352/0.6222, allocations: 482.5 kB / 0.5719 GB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.6222, allocations: 4 kB / 0.5719 GB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.6222, allocations: 4 kB / 0.5719 GB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.6224, allocations: 88.73 kB / 0.572 GB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.6225, allocations: 0 / 0.572 GB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6225, allocations: 0 / 0.572 GB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.6225, allocations: 0 / 0.572 GB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.6226, allocations: 38.72 kB / 0.572 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.623, allocations: 379.1 kB / 0.5724 GB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.6233, allocations: 110.8 kB / 0.5725 GB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.6233, allocations: 7.203 kB / 0.5725 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.6235, allocations: 109.1 kB / 0.5726 GB, free: 4.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.6235, allocations: 4 kB / 0.5726 GB, free: 4.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005058/0.624, allocations: 207.5 kB / 0.5728 GB, free: 4.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.6241, allocations: 77.11 kB / 0.5729 GB, free: 4.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.6253, allocations: 0.9203 MB / 0.5738 GB, free: 3.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.6253, allocations: 29.7 kB / 0.5738 GB, free: 3.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.6255, allocations: 224 kB / 0.574 GB, free: 3.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.6255, allocations: 27.2 kB / 0.574 GB, free: 3.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.6255, allocations: 3.5 kB / 0.574 GB, free: 3.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.6257, allocations: 377.9 kB / 0.5744 GB, free: 3.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.6258, allocations: 27.55 kB / 0.5744 GB, free: 3.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.6259, allocations: 58.66 kB / 0.5745 GB, free: 3.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.272e-05/0.626, allocations: 35.3 kB / 0.5745 GB, free: 3.035 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.626, allocations: 4 kB / 0.5745 GB, free: 3.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002975/0.6263, allocations: 166.6 kB / 0.5747 GB, free: 2.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6263, allocations: 7.438 kB / 0.5747 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6263, allocations: 7.984 kB / 0.5747 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6264, allocations: 0 / 0.5747 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.6265, allocations: 24.56 kB / 0.5747 GB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.6265, allocations: 0 / 0.5747 GB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.6266, allocations: 19.83 kB / 0.5747 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.6266, allocations: 8.062 kB / 0.5747 GB, free: 2.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 () * Number of clocked 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.0002114/0.6268, allocations: 236.3 kB / 0.575 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.6269, allocations: 51.44 kB / 0.575 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.6273, allocations: 203.1 kB / 0.5752 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6273, allocations: 0 / 0.5752 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6273, allocations: 0 / 0.5752 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6273, allocations: 4 kB / 0.5752 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.6277, allocations: 386.4 kB / 0.5756 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6277, allocations: 4 kB / 0.5756 GB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.6277, allocations: 8 kB / 0.5756 GB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6277, allocations: 4 kB / 0.5756 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.6277, allocations: 0 / 0.5756 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6277, allocations: 0 / 0.5756 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.6278, allocations: 4 kB / 0.5756 GB, free: 2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.6281, allocations: 233.6 kB / 0.5758 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.6284, allocations: 191.6 kB / 0.576 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.6285, allocations: 4 kB / 0.576 GB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.6286, allocations: 7.984 kB / 0.576 GB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.6286, allocations: 15.8 kB / 0.576 GB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.6287, allocations: 4 kB / 0.576 GB, free: 1.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008061/0.6295, allocations: 0.7324 MB / 0.5768 GB, free: 1.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6295, allocations: 0 / 0.5768 GB, free: 1.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.6298, allocations: 79.88 kB / 0.5768 GB, free: 0.9414 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) * Number of clocked states: 0 () * 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.001031/0.6309, allocations: 423.8 kB / 0.5772 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.6311, allocations: 87.2 kB / 0.5773 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6311, allocations: 0 / 0.5773 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.6312, allocations: 43.42 kB / 0.5774 GB, free: 500 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.6316, allocations: 65.72 kB / 0.5774 GB, free: 452 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.633, allocations: 0.9797 MB / 0.5784 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.6335, allocations: 0.8501 MB / 0.5792 GB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000146/0.6336, allocations: 87.19 kB / 0.5793 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.6337, allocations: 39.31 kB / 0.5793 GB, free: 14.54 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6337, allocations: 0 / 0.5793 GB, free: 14.54 MB / 394.7 MB Notification: Performance of Templates: time 0.008466/0.6422, allocations: 4.501 MB / 0.5837 GB, free: 10.04 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches