Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.018/2.018, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001071/0.00107, allocations: 86.7 kB / 267.5 MB, free: 14.11 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.282/0.282, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.088e-05/5.107e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1694, allocations: 58.84 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/0.6635, allocations: 87.41 MB / 0.5582 GB, free: 224 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.6638, allocations: 80.27 kB / 0.5582 GB, free: 184 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02203/0.6859, allocations: 5.152 MB / 0.5633 GB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6859, allocations: 0 / 0.5633 GB, free: 11.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.686, allocations: 0 / 0.5633 GB, free: 11.83 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005554/0.6865, allocations: 394.1 kB / 0.5636 GB, free: 11.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6866, allocations: 8.031 kB / 0.5636 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.6866, allocations: 7.906 kB / 0.5637 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.6871, allocations: 220.2 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.6871, allocations: 7.922 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.6871, allocations: 4 kB / 0.5639 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.6873, allocations: 45.44 kB / 0.5639 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.6873, allocations: 0 / 0.5639 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.6873, allocations: 0 / 0.5639 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6873, allocations: 0 / 0.5639 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.6874, allocations: 23.92 kB / 0.5639 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.6877, allocations: 180.6 kB / 0.5641 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.6878, allocations: 54.06 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.6879, allocations: 16.73 kB / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.6879, allocations: 0 / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.6881, allocations: 71.11 kB / 0.5642 GB, free: 10.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 5.34e-06/0.6881, allocations: 3.984 kB / 0.5643 GB, free: 10.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002627/0.6884, allocations: 81.02 kB / 0.5643 GB, free: 10.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.6885, allocations: 51.41 kB / 0.5644 GB, free: 10.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.6887, allocations: 169.4 kB / 0.5645 GB, free: 10.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.6888, allocations: 25.7 kB / 0.5646 GB, free: 10.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/0.6889, allocations: 164.6 kB / 0.5647 GB, free: 10.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.6889, allocations: 15.19 kB / 0.5647 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.6889, allocations: 4 kB / 0.5647 GB, free: 10.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6891, allocations: 325.8 kB / 0.5651 GB, free: 9.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.6892, allocations: 11.44 kB / 0.5651 GB, free: 9.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.93e-05/0.6892, allocations: 21.47 kB / 0.5651 GB, free: 9.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.281e-05/0.6893, allocations: 21.62 kB / 0.5651 GB, free: 9.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6893, allocations: 0 / 0.5651 GB, free: 9.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001774/0.6895, allocations: 74.25 kB / 0.5652 GB, free: 9.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6895, allocations: 11.47 kB / 0.5652 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6896, allocations: 0 / 0.5652 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6896, allocations: 4 kB / 0.5652 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.6897, allocations: 11.98 kB / 0.5652 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.6897, allocations: 0 / 0.5652 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.6898, allocations: 4.125 kB / 0.5652 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.6898, allocations: 4 kB / 0.5652 GB, free: 9.754 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000101/0.69, allocations: 117.4 kB / 0.5653 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.69, allocations: 11.81 kB / 0.5653 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.6903, allocations: 93.45 kB / 0.5654 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6903, allocations: 0 / 0.5654 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.6903, allocations: 3.984 kB / 0.5654 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6903, allocations: 0 / 0.5654 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.6905, allocations: 190 kB / 0.5656 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6906, allocations: 3.953 kB / 0.5656 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.6906, allocations: 7.188 kB / 0.5656 GB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.6906, allocations: 7.938 kB / 0.5656 GB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.6907, allocations: 3.938 kB / 0.5656 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6907, allocations: 0 / 0.5656 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6907, allocations: 0 / 0.5656 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.6909, allocations: 111.6 kB / 0.5657 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.691, allocations: 92.88 kB / 0.5658 GB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.6911, allocations: 11.36 kB / 0.5658 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.6912, allocations: 0 / 0.5658 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.6912, allocations: 4 kB / 0.5658 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.6912, allocations: 0 / 0.5658 GB, free: 9.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.6914, allocations: 148.3 kB / 0.566 GB, free: 8.934 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6914, allocations: 4 kB / 0.566 GB, free: 8.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.6917, allocations: 23.06 kB / 0.566 GB, free: 8.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001118/0.6929, allocations: 378 kB / 0.5664 GB, free: 8.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.693, allocations: 34.69 kB / 0.5664 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6931, allocations: 0 / 0.5664 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.6931, allocations: 25.25 kB / 0.5664 GB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.6935, allocations: 31 kB / 0.5665 GB, free: 8.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.6939, allocations: 164.8 kB / 0.5666 GB, free: 8.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.6943, allocations: 0.7113 MB / 0.5673 GB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.6943, allocations: 11.44 kB / 0.5673 GB, free: 7.605 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.6943, allocations: 0 / 0.5673 GB, free: 7.605 MB / 378.7 MB Notification: Performance of Templates: time 0.004794/0.6991, allocations: 1.714 MB / 0.569 GB, free: 5.895 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches