Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002115/0.002115, allocations: 182.9 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.756/1.756, 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.0009272/0.0009271, allocations: 94.84 kB / 270.2 MB, free: 13.36 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.2552/0.2552, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 16 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5896, allocations: 87.94 MB / 0.5646 GB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.5899, allocations: 75.33 kB / 0.5647 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01978/0.6097, allocations: 5.956 MB / 0.5705 GB, free: 7.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6098, allocations: 0 / 0.5705 GB, free: 7.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.6098, allocations: 8 kB / 0.5705 GB, free: 7.027 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007758/0.6106, allocations: 402.9 kB / 0.5709 GB, free: 6.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.6107, allocations: 8.031 kB / 0.5709 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.6108, allocations: 11.89 kB / 0.5709 GB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.6112, allocations: 214.3 kB / 0.5711 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.6113, allocations: 8.562 kB / 0.5712 GB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.6113, allocations: 0.75 kB / 0.5712 GB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.6116, allocations: 78.02 kB / 0.5712 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6116, allocations: 3.938 kB / 0.5712 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.6116, allocations: 0 / 0.5712 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.6117, allocations: 0 / 0.5712 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.6118, allocations: 22.11 kB / 0.5713 GB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.6124, allocations: 288.5 kB / 0.5715 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.6126, allocations: 61.88 kB / 0.5716 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.6127, allocations: 0 / 0.5716 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.6129, allocations: 73.05 kB / 0.5717 GB, free: 5.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.6129, allocations: 0 / 0.5717 GB, free: 5.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008039/0.6137, allocations: 177.2 kB / 0.5718 GB, free: 5.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.6138, allocations: 81.11 kB / 0.5719 GB, free: 5.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.6141, allocations: 141.7 kB / 0.572 GB, free: 5.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.6141, allocations: 32.83 kB / 0.5721 GB, free: 5.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.6142, allocations: 95 kB / 0.5722 GB, free: 5.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.6143, allocations: 15.09 kB / 0.5722 GB, free: 5.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.6143, allocations: 11.62 kB / 0.5722 GB, free: 5.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6144, allocations: 318.2 kB / 0.5725 GB, free: 4.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.6145, allocations: 21.36 kB / 0.5725 GB, free: 4.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.6147, allocations: 48.19 kB / 0.5726 GB, free: 4.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.373e-05/0.6148, allocations: 25.23 kB / 0.5726 GB, free: 4.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.6148, allocations: 0 / 0.5726 GB, free: 4.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003014/0.6151, allocations: 104 kB / 0.5727 GB, free: 4.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.6151, allocations: 8 kB / 0.5727 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6152, allocations: 3.953 kB / 0.5727 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.6152, allocations: 0 / 0.5727 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.6153, allocations: 16.05 kB / 0.5727 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.6153, allocations: 8 kB / 0.5727 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.6154, allocations: 3.188 kB / 0.5727 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.6154, allocations: 4 kB / 0.5727 GB, free: 4.742 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.6156, allocations: 132.5 kB / 0.5728 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.6157, allocations: 7.906 kB / 0.5729 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.616, allocations: 113.6 kB / 0.573 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.616, allocations: 8.047 kB / 0.573 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.616, allocations: 8.312 kB / 0.573 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.6161, allocations: 0 / 0.573 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/0.6168, allocations: 403.4 kB / 0.5734 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.6168, allocations: 8 kB / 0.5734 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.6169, allocations: 19.62 kB / 0.5734 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6169, allocations: 0 / 0.5734 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.6169, allocations: 0 / 0.5734 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6169, allocations: 4 kB / 0.5734 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6169, allocations: 4.031 kB / 0.5734 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.6174, allocations: 224.5 kB / 0.5736 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.6175, allocations: 92.91 kB / 0.5737 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.6175, allocations: 3.938 kB / 0.5737 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.6176, allocations: 4 kB / 0.5737 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.6177, allocations: 11.98 kB / 0.5737 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.6177, allocations: 0 / 0.5737 GB, free: 3.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.6179, allocations: 125.9 kB / 0.5738 GB, free: 3.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6179, allocations: 0 / 0.5738 GB, free: 3.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004648/0.6184, allocations: 39.86 kB / 0.5739 GB, free: 3.559 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: 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001667/0.62, allocations: 0.5005 MB / 0.5744 GB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.6203, allocations: 58.78 kB / 0.5744 GB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6203, allocations: 4 kB / 0.5744 GB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.6205, allocations: 35.67 kB / 0.5745 GB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.6208, allocations: 27.25 kB / 0.5745 GB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/0.6215, allocations: 209.7 kB / 0.5747 GB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.622, allocations: 0.7083 MB / 0.5754 GB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.937e-05/0.6221, allocations: 20.48 kB / 0.5754 GB, free: 2.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.6222, allocations: 15.44 kB / 0.5754 GB, free: 2.031 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6222, allocations: 0 / 0.5754 GB, free: 2.031 MB / 378.7 MB Notification: Performance of Templates: time 0.006829/0.6291, allocations: 1.886 MB / 0.5773 GB, free: 164 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches