Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002133/0.002133, allocations: 185.8 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.948/1.948, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001148/0.001147, allocations: 98.34 kB / 270.9 MB, free: 8.383 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.5999/0.5999, allocations: 43.55 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004556, allocations: 12 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.5811, allocations: 87.55 MB / 0.5642 GB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.5814, allocations: 79.91 kB / 0.5643 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0281/0.6096, allocations: 5.235 MB / 0.5694 GB, free: 9.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6096, allocations: 0 / 0.5694 GB, free: 9.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.6096, allocations: 4 kB / 0.5694 GB, free: 9.738 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006517/0.6103, allocations: 418.9 kB / 0.5698 GB, free: 9.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6104, allocations: 8.031 kB / 0.5698 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.6104, allocations: 15.38 kB / 0.5698 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.6108, allocations: 217.3 kB / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.6108, allocations: 0 / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.6109, allocations: 4 kB / 0.5701 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.611, allocations: 49.67 kB / 0.5701 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6111, allocations: 0 / 0.5701 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.6111, allocations: 4 kB / 0.5701 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6111, allocations: 0 / 0.5701 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.895e-05/0.6112, allocations: 17.02 kB / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.6115, allocations: 185.5 kB / 0.5703 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.6117, allocations: 66.53 kB / 0.5704 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.6117, allocations: 0 / 0.5704 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.612, allocations: 63.98 kB / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.612, allocations: 0 / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005548/0.6125, allocations: 105.5 kB / 0.5705 GB, free: 8.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.6126, allocations: 55.41 kB / 0.5706 GB, free: 8.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.6129, allocations: 169.4 kB / 0.5707 GB, free: 8.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.6129, allocations: 25.7 kB / 0.5708 GB, free: 8.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.613, allocations: 162.6 kB / 0.5709 GB, free: 8.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.6131, allocations: 15.8 kB / 0.5709 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.6131, allocations: 3.938 kB / 0.5709 GB, free: 8.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6132, allocations: 318.8 kB / 0.5712 GB, free: 7.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.6133, allocations: 16 kB / 0.5713 GB, free: 7.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.125e-05/0.6134, allocations: 29.7 kB / 0.5713 GB, free: 7.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.341e-05/0.6135, allocations: 15.98 kB / 0.5713 GB, free: 7.617 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.6135, allocations: 7.953 kB / 0.5713 GB, free: 7.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002407/0.6138, allocations: 73.62 kB / 0.5714 GB, free: 7.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.6138, allocations: 8 kB / 0.5714 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6138, allocations: 0 / 0.5714 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.6139, allocations: 0 / 0.5714 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.614, allocations: 11.98 kB / 0.5714 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.614, allocations: 4.031 kB / 0.5714 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.6141, allocations: 4 kB / 0.5714 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.6141, allocations: 4 kB / 0.5714 GB, free: 7.5 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 (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.0001349/0.6143, allocations: 133.7 kB / 0.5715 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.6143, allocations: 15.86 kB / 0.5716 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.6146, allocations: 93.89 kB / 0.5716 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6147, allocations: 0.75 kB / 0.5716 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6147, allocations: 4 kB / 0.5716 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.6147, allocations: 3.984 kB / 0.5717 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.6149, allocations: 181.6 kB / 0.5718 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6149, allocations: 0 / 0.5718 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.615, allocations: 11.94 kB / 0.5718 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.615, allocations: 4 kB / 0.5718 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.615, allocations: 3.938 kB / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.615, allocations: 3.938 kB / 0.5718 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.615, allocations: 0 / 0.5718 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.6153, allocations: 117.4 kB / 0.572 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.6154, allocations: 93.06 kB / 0.572 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.6155, allocations: 7.953 kB / 0.5721 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.6156, allocations: 4 kB / 0.5721 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.6156, allocations: 7.984 kB / 0.5721 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.6156, allocations: 4 kB / 0.5721 GB, free: 6.723 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.6158, allocations: 132.8 kB / 0.5722 GB, free: 6.594 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6158, allocations: 0 / 0.5722 GB, free: 6.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.6161, allocations: 27.92 kB / 0.5722 GB, free: 6.566 MB / 394.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) * Number of clocked states: 0 () * 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.001231/0.6174, allocations: 429.4 kB / 0.5726 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.6176, allocations: 39.98 kB / 0.5727 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6177, allocations: 0 / 0.5727 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.6178, allocations: 32.05 kB / 0.5727 GB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.6181, allocations: 19.98 kB / 0.5727 GB, free: 6.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.6187, allocations: 253.1 kB / 0.573 GB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.6191, allocations: 0.7043 MB / 0.5737 GB, free: 5.148 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.6191, allocations: 15.42 kB / 0.5737 GB, free: 5.137 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6191, allocations: 4 kB / 0.5737 GB, free: 5.133 MB / 394.7 MB Notification: Performance of Templates: time 0.004854/0.624, allocations: 1.701 MB / 0.5753 GB, free: 3.438 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches