Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001477, allocations: 187.1 kB / 16.41 MB, free: 5.723 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.912/1.912, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001137/0.001137, allocations: 95.38 kB / 270.9 MB, free: 8.371 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.5135/0.5135, allocations: 43.56 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006352/0.0006351, allocations: 20 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1248, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.5913, allocations: 87.71 MB / 0.5644 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.5916, allocations: 75.95 kB / 0.5645 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02374/0.6154, allocations: 5.45 MB / 0.5698 GB, free: 9.387 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6154, allocations: 4 kB / 0.5698 GB, free: 9.383 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.6154, allocations: 0 / 0.5698 GB, free: 9.383 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.0006466/0.6161, allocations: 433.7 kB / 0.5702 GB, free: 8.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.6162, allocations: 16.02 kB / 0.5702 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.6162, allocations: 15.25 kB / 0.5702 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.6166, allocations: 207.6 kB / 0.5704 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.6167, allocations: 0 / 0.5704 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.6167, allocations: 4 kB / 0.5704 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.6169, allocations: 57.67 kB / 0.5705 GB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6169, allocations: 0 / 0.5705 GB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.6169, allocations: 3.984 kB / 0.5705 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.617, allocations: 1.031 kB / 0.5705 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.6171, allocations: 23.92 kB / 0.5705 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.6176, allocations: 296.9 kB / 0.5708 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.6178, allocations: 71.47 kB / 0.5709 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.6179, allocations: 0 / 0.5709 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.6181, allocations: 71.45 kB / 0.5709 GB, free: 8.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.6181, allocations: 0 / 0.5709 GB, free: 8.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007682/0.6189, allocations: 181 kB / 0.5711 GB, free: 7.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.6189, allocations: 63.34 kB / 0.5712 GB, free: 7.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.6192, allocations: 180.8 kB / 0.5713 GB, free: 7.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.6193, allocations: 29.7 kB / 0.5714 GB, free: 7.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.6194, allocations: 162.6 kB / 0.5715 GB, free: 7.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.6194, allocations: 27.64 kB / 0.5715 GB, free: 7.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.6194, allocations: 4 kB / 0.5715 GB, free: 7.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6196, allocations: 310.8 kB / 0.5718 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-05/0.6197, allocations: 23.98 kB / 0.5719 GB, free: 7.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.6198, allocations: 37.7 kB / 0.5719 GB, free: 7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.6199, allocations: 28.84 kB / 0.5719 GB, free: 6.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6199, allocations: 192 / 0.5719 GB, free: 6.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002813/0.6202, allocations: 93.61 kB / 0.572 GB, free: 6.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6203, allocations: 11.94 kB / 0.572 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6203, allocations: 0.7812 kB / 0.572 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.6203, allocations: 0 / 0.572 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.6204, allocations: 15.98 kB / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/0.6205, allocations: 7.938 kB / 0.5721 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/0.6206, allocations: 7.984 kB / 0.5721 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.6206, allocations: 4 kB / 0.5721 GB, free: 6.828 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.0001373/0.6207, allocations: 129.8 kB / 0.5722 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.6208, allocations: 11.81 kB / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.6212, allocations: 123.1 kB / 0.5723 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.6212, allocations: 0 / 0.5723 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6212, allocations: 0 / 0.5723 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.6213, allocations: 11.98 kB / 0.5723 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/0.622, allocations: 411.3 kB / 0.5727 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.622, allocations: 0 / 0.5727 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.6221, allocations: 8 kB / 0.5727 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.6221, allocations: 7.984 kB / 0.5727 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.6221, allocations: 4 kB / 0.5727 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.6221, allocations: 3.953 kB / 0.5727 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.6221, allocations: 7.938 kB / 0.5728 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.6225, allocations: 221.9 kB / 0.573 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.6226, allocations: 93 kB / 0.5731 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.6226, allocations: 7.953 kB / 0.5731 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.6228, allocations: 0 / 0.5731 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.6228, allocations: 7.984 kB / 0.5731 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.6228, allocations: 12 kB / 0.5731 GB, free: 5.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.6231, allocations: 152.9 kB / 0.5732 GB, free: 5.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6231, allocations: 3.938 kB / 0.5732 GB, free: 5.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000369/0.6234, allocations: 35.92 kB / 0.5733 GB, free: 5.48 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.001342/0.6248, allocations: 479.4 kB / 0.5737 GB, free: 5.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.6251, allocations: 63.91 kB / 0.5738 GB, free: 5.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6251, allocations: 0 / 0.5738 GB, free: 5.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.6253, allocations: 28 kB / 0.5738 GB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.6256, allocations: 23.97 kB / 0.5738 GB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.6263, allocations: 286.2 kB / 0.5741 GB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.6267, allocations: 0.7121 MB / 0.5748 GB, free: 3.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.6267, allocations: 19.44 kB / 0.5748 GB, free: 3.938 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6268, allocations: 0 / 0.5748 GB, free: 3.938 MB / 394.7 MB Notification: Performance of Templates: time 0.005506/0.6323, allocations: 1.971 MB / 0.5767 GB, free: 1.977 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches