Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 184 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.614/1.614, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008003/0.0008002, allocations: 98.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.207/0.207, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 58.86 MB / 490.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5914, allocations: 87.72 MB / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5917, allocations: 69.97 kB / 0.5645 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01551/0.6072, allocations: 5.332 MB / 0.5697 GB, free: 7.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6073, allocations: 4 kB / 0.5697 GB, free: 7.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.6073, allocations: 0 / 0.5697 GB, free: 7.559 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.0006778/0.608, allocations: 413 kB / 0.5701 GB, free: 7.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.6081, allocations: 12.02 kB / 0.5701 GB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.6081, allocations: 7.906 kB / 0.5701 GB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.6084, allocations: 217.8 kB / 0.5703 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.6085, allocations: 4 kB / 0.5703 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.6085, allocations: 0 / 0.5703 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.6087, allocations: 60.55 kB / 0.5704 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.6087, allocations: 0 / 0.5704 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.6087, allocations: 0 / 0.5704 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6088, allocations: 0 / 0.5704 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.6088, allocations: 23.47 kB / 0.5704 GB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.6093, allocations: 297.6 kB / 0.5707 GB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.6095, allocations: 65.56 kB / 0.5708 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.6095, allocations: 0 / 0.5708 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.6097, allocations: 74.19 kB / 0.5708 GB, free: 6.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.6097, allocations: 4 kB / 0.5708 GB, free: 6.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006411/0.6103, allocations: 165.8 kB / 0.571 GB, free: 6.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.6104, allocations: 55.36 kB / 0.571 GB, free: 6.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.6106, allocations: 167.5 kB / 0.5712 GB, free: 5.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.6106, allocations: 33.33 kB / 0.5712 GB, free: 5.922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.6107, allocations: 99.06 kB / 0.5713 GB, free: 5.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.6107, allocations: 26.77 kB / 0.5714 GB, free: 5.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.6108, allocations: 0 / 0.5714 GB, free: 5.809 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6109, allocations: 330.5 kB / 0.5717 GB, free: 5.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.407e-05/0.611, allocations: 19.05 kB / 0.5717 GB, free: 5.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.611, allocations: 36.77 kB / 0.5717 GB, free: 5.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/0.6111, allocations: 22.94 kB / 0.5717 GB, free: 5.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.6111, allocations: 0 / 0.5717 GB, free: 5.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.6113, allocations: 107 kB / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6114, allocations: 7.438 kB / 0.5719 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6114, allocations: 7.969 kB / 0.5719 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6114, allocations: 0 / 0.5719 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.6115, allocations: 19.98 kB / 0.5719 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6115, allocations: 0 / 0.5719 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.6116, allocations: 7.953 kB / 0.5719 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.6116, allocations: 3.5 kB / 0.5719 GB, free: 5.293 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.000137/0.6117, allocations: 129.8 kB / 0.572 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.6118, allocations: 11.91 kB / 0.572 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.612, allocations: 123.4 kB / 0.5721 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.6121, allocations: 4 kB / 0.5721 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6121, allocations: 0 / 0.5721 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6121, allocations: 0 / 0.5721 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.6126, allocations: 408.5 kB / 0.5725 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6126, allocations: 0 / 0.5725 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.6127, allocations: 12 kB / 0.5725 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6127, allocations: 0 / 0.5725 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.6127, allocations: 9.266 kB / 0.5726 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.6127, allocations: 7.953 kB / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6127, allocations: 3.938 kB / 0.5726 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.6131, allocations: 216 kB / 0.5728 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.6131, allocations: 94.72 kB / 0.5729 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.6132, allocations: 5.516 kB / 0.5729 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.6133, allocations: 9.062 kB / 0.5729 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.6133, allocations: 8.672 kB / 0.5729 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.6133, allocations: 9.25 kB / 0.5729 GB, free: 4.234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.6135, allocations: 127.6 kB / 0.573 GB, free: 4.125 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6135, allocations: 0 / 0.573 GB, free: 4.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.6138, allocations: 31.61 kB / 0.573 GB, free: 4.098 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.001198/0.615, allocations: 479.6 kB / 0.5735 GB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.6152, allocations: 60.16 kB / 0.5736 GB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6152, allocations: 0 / 0.5736 GB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.6153, allocations: 34.67 kB / 0.5736 GB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.6156, allocations: 25.05 kB / 0.5736 GB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.6162, allocations: 236.1 kB / 0.5738 GB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.6165, allocations: 0.7043 MB / 0.5745 GB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.6166, allocations: 23.83 kB / 0.5746 GB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.6167, allocations: 19.38 kB / 0.5746 GB, free: 2.574 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6167, allocations: 0 / 0.5746 GB, free: 2.574 MB / 378.7 MB Notification: Performance of Templates: time 0.004358/0.621, allocations: 1.654 MB / 0.5762 GB, free: 0.9375 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches