Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001543, 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.084/2.084, 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.001073/0.001073, allocations: 82.66 kB / 267.5 MB, free: 14.12 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.2747/0.2747, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.033e-05, allocations: 7.984 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.5881, allocations: 87.47 MB / 0.5582 GB, free: 180 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.5883, allocations: 74.25 kB / 0.5583 GB, free: 144 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02302/0.6114, allocations: 5.524 MB / 0.5637 GB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6114, allocations: 0 / 0.5637 GB, free: 11.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.6115, allocations: 0 / 0.5637 GB, free: 11.45 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.0005343/0.612, allocations: 413.3 kB / 0.5641 GB, free: 11.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6121, allocations: 8.031 kB / 0.5641 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.6121, allocations: 11.91 kB / 0.5641 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.6126, allocations: 230.3 kB / 0.5643 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.6126, allocations: 0 / 0.5643 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.6126, allocations: 0 / 0.5643 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.6128, allocations: 52.48 kB / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.6128, allocations: 4 kB / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.6128, allocations: 3.938 kB / 0.5644 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.6128, allocations: 3.984 kB / 0.5644 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.6129, allocations: 15.86 kB / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.6132, allocations: 192.8 kB / 0.5646 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.6133, allocations: 46.06 kB / 0.5646 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.6134, allocations: 28.31 kB / 0.5646 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.6134, allocations: 4 kB / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.6136, allocations: 63.22 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.844e-06/0.6136, allocations: 0 / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002633/0.6139, allocations: 84.98 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.614, allocations: 51.41 kB / 0.5648 GB, free: 10.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.6143, allocations: 232 kB / 0.5651 GB, free: 9.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.6144, allocations: 33.45 kB / 0.5651 GB, free: 9.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.6145, allocations: 166 kB / 0.5652 GB, free: 9.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.6145, allocations: 19.67 kB / 0.5653 GB, free: 9.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.6145, allocations: 0 / 0.5653 GB, free: 9.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6147, allocations: 318.7 kB / 0.5656 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.6147, allocations: 11.88 kB / 0.5656 GB, free: 9.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.6148, allocations: 29.22 kB / 0.5656 GB, free: 9.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.523e-05/0.6149, allocations: 19.88 kB / 0.5656 GB, free: 9.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6149, allocations: 4 kB / 0.5656 GB, free: 9.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001611/0.6151, allocations: 65.5 kB / 0.5657 GB, free: 9.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.6151, allocations: 8 kB / 0.5657 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6151, allocations: 0 / 0.5657 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6151, allocations: 0 / 0.5657 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.6153, allocations: 15.92 kB / 0.5657 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.6153, allocations: 4 kB / 0.5657 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.6154, allocations: 3.875 kB / 0.5657 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.6154, allocations: 8 kB / 0.5657 GB, free: 9.281 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 9.343e-05/0.6155, allocations: 113 kB / 0.5658 GB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.6156, allocations: 11.81 kB / 0.5659 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.6158, allocations: 101.2 kB / 0.566 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6158, allocations: 4 kB / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6159, allocations: 0 / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.6159, allocations: 0 / 0.566 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.6161, allocations: 210.6 kB / 0.5662 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6161, allocations: 3.953 kB / 0.5662 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.6162, allocations: 4 kB / 0.5662 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6162, allocations: 0 / 0.5662 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.6162, allocations: 7.984 kB / 0.5662 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6162, allocations: 3.984 kB / 0.5662 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6162, allocations: 4 kB / 0.5662 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.6165, allocations: 111 kB / 0.5663 GB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.6166, allocations: 100.6 kB / 0.5664 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.6166, allocations: 4 kB / 0.5664 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.6167, allocations: 3.984 kB / 0.5664 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.6168, allocations: 15.62 kB / 0.5664 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.6168, allocations: 3.938 kB / 0.5664 GB, free: 8.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002674/0.6171, allocations: 196.7 kB / 0.5666 GB, free: 8.383 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6171, allocations: 0 / 0.5666 GB, free: 8.383 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.6174, allocations: 27.73 kB / 0.5666 GB, free: 8.359 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.001101/0.6185, allocations: 374.8 kB / 0.567 GB, free: 8.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.6187, allocations: 42.56 kB / 0.567 GB, free: 8.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6187, allocations: 64 / 0.567 GB, free: 8.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/0.6188, allocations: 23.31 kB / 0.567 GB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.6191, allocations: 35.77 kB / 0.5671 GB, free: 7.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.6197, allocations: 226.6 kB / 0.5673 GB, free: 7.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.62, allocations: 0.7271 MB / 0.568 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.6201, allocations: 11.44 kB / 0.568 GB, free: 6.98 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6201, allocations: 0 / 0.568 GB, free: 6.98 MB / 378.7 MB Notification: Performance of Templates: time 0.005233/0.6253, allocations: 1.925 MB / 0.5699 GB, free: 5.062 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches