Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002331/0.002331, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.01/2.01, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001128/0.001128, allocations: 92.38 kB / 270.9 MB, free: 8.375 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.5422/0.5422, allocations: 43.54 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004544, allocations: 15.98 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.124, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.5888, allocations: 87.68 MB / 0.5644 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.5892, allocations: 72.7 kB / 0.5644 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02427/0.6135, allocations: 5.327 MB / 0.5696 GB, free: 9.535 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6135, allocations: 4 kB / 0.5696 GB, free: 9.531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.6135, allocations: 4 kB / 0.5696 GB, free: 9.527 MB / 394.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.0006663/0.6142, allocations: 426.4 kB / 0.57 GB, free: 9.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.6143, allocations: 12.02 kB / 0.5701 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.6143, allocations: 19.25 kB / 0.5701 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.6147, allocations: 215.5 kB / 0.5703 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.6148, allocations: 0 / 0.5703 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.6148, allocations: 8 kB / 0.5703 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.615, allocations: 53.67 kB / 0.5703 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.615, allocations: 0 / 0.5703 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.615, allocations: 4 kB / 0.5703 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6151, allocations: 1.031 kB / 0.5703 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.6152, allocations: 24.73 kB / 0.5704 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.6157, allocations: 296.8 kB / 0.5706 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.6159, allocations: 58.69 kB / 0.5707 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.616, allocations: 3.984 kB / 0.5707 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.6162, allocations: 75.45 kB / 0.5708 GB, free: 8.199 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/0.6162, allocations: 0 / 0.5708 GB, free: 8.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008791/0.6171, allocations: 181 kB / 0.571 GB, free: 8.016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.6172, allocations: 55.36 kB / 0.571 GB, free: 7.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.6175, allocations: 188.8 kB / 0.5712 GB, free: 7.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.6175, allocations: 25.7 kB / 0.5712 GB, free: 7.727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.6176, allocations: 166.6 kB / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.6177, allocations: 31.62 kB / 0.5714 GB, free: 7.531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.6177, allocations: 0 / 0.5714 GB, free: 7.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6178, allocations: 314.8 kB / 0.5717 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.313e-05/0.6179, allocations: 19.98 kB / 0.5717 GB, free: 7.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.618, allocations: 37.64 kB / 0.5718 GB, free: 7.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.6181, allocations: 28 kB / 0.5718 GB, free: 7.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6182, allocations: 4 kB / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002856/0.6184, allocations: 89.61 kB / 0.5719 GB, free: 7.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.6185, allocations: 8 kB / 0.5719 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.6185, allocations: 0.8594 kB / 0.5719 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.6185, allocations: 0 / 0.5719 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.6187, allocations: 16 kB / 0.5719 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.6187, allocations: 11.92 kB / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/0.6188, allocations: 7.984 kB / 0.5719 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.6188, allocations: 4 kB / 0.5719 GB, free: 6.98 MB / 394.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.0001344/0.619, allocations: 125.8 kB / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.619, allocations: 15.81 kB / 0.5721 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.6194, allocations: 123.1 kB / 0.5722 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6194, allocations: 0 / 0.5722 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6195, allocations: 0 / 0.5722 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6195, allocations: 0 / 0.5722 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006899/0.6202, allocations: 423.2 kB / 0.5726 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6202, allocations: 0 / 0.5726 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.6203, allocations: 8 kB / 0.5726 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6203, allocations: 4 kB / 0.5726 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.6203, allocations: 0 / 0.5726 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6203, allocations: 7.891 kB / 0.5726 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6203, allocations: 0 / 0.5726 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.6207, allocations: 229.9 kB / 0.5728 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.6208, allocations: 89.02 kB / 0.5729 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.6209, allocations: 11.95 kB / 0.5729 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.621, allocations: 4.359 kB / 0.5729 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.6211, allocations: 7.984 kB / 0.5729 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.6211, allocations: 4.375 kB / 0.5729 GB, free: 5.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002075/0.6213, allocations: 168.8 kB / 0.5731 GB, free: 5.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6213, allocations: 3.938 kB / 0.5731 GB, free: 5.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.6217, allocations: 31.94 kB / 0.5731 GB, free: 5.629 MB / 394.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.001425/0.6232, allocations: 475 kB / 0.5736 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.6235, allocations: 63.91 kB / 0.5736 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6235, allocations: 0 / 0.5736 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.6237, allocations: 31.98 kB / 0.5737 GB, free: 5.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.6241, allocations: 19.98 kB / 0.5737 GB, free: 5.148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.6248, allocations: 290.2 kB / 0.574 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.6251, allocations: 0.7121 MB / 0.5747 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.6252, allocations: 23.44 kB / 0.5747 GB, free: 4.082 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6252, allocations: 0 / 0.5747 GB, free: 4.082 MB / 394.7 MB Notification: Performance of Templates: time 0.005481/0.6307, allocations: 1.957 MB / 0.5766 GB, free: 2.137 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches