Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009007/0.0009007, allocations: 182.5 kB / 17.41 MB, free: 4.387 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.306/1.306, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0008227/0.0008227, allocations: 97.42 kB / 271.9 MB, free: 8.242 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.313/0.313, allocations: 43.55 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 16 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/0.3985, allocations: 87.76 MB / 0.5656 GB, free: 14.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.3988, allocations: 75.97 kB / 0.5657 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01373/0.4125, allocations: 5.393 MB / 0.571 GB, free: 9.227 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4126, allocations: 0 / 0.571 GB, free: 9.227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4126, allocations: 4 kB / 0.571 GB, free: 9.223 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.0004606/0.4131, allocations: 418 kB / 0.5714 GB, free: 8.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4131, allocations: 16.03 kB / 0.5714 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.4131, allocations: 8.844 kB / 0.5714 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.4134, allocations: 219.1 kB / 0.5716 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.4134, allocations: 384 / 0.5716 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.4135, allocations: 4.375 kB / 0.5716 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4136, allocations: 58.23 kB / 0.5717 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4136, allocations: 192 / 0.5717 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4136, allocations: 3.938 kB / 0.5717 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4136, allocations: 0 / 0.5717 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/0.4137, allocations: 27.91 kB / 0.5717 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.4141, allocations: 299.8 kB / 0.572 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.4143, allocations: 62.55 kB / 0.572 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.4143, allocations: 24.86 kB / 0.5721 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.4143, allocations: 3.984 kB / 0.5721 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.4145, allocations: 67.39 kB / 0.5721 GB, free: 7.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4145, allocations: 4 kB / 0.5721 GB, free: 7.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004974/0.415, allocations: 169.2 kB / 0.5723 GB, free: 7.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.4151, allocations: 51.41 kB / 0.5724 GB, free: 7.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.4152, allocations: 186.2 kB / 0.5725 GB, free: 7.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.4152, allocations: 25.7 kB / 0.5726 GB, free: 7.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.4153, allocations: 108.1 kB / 0.5727 GB, free: 7.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4153, allocations: 27.59 kB / 0.5727 GB, free: 7.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.4153, allocations: 0 / 0.5727 GB, free: 7.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4155, allocations: 330.8 kB / 0.573 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.4155, allocations: 15.98 kB / 0.573 GB, free: 6.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.4156, allocations: 37.7 kB / 0.573 GB, free: 6.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.4157, allocations: 65.69 kB / 0.5731 GB, free: 6.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4157, allocations: 0 / 0.5731 GB, free: 6.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001719/0.4159, allocations: 109.4 kB / 0.5732 GB, free: 6.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.4159, allocations: 4 kB / 0.5732 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4159, allocations: 0 / 0.5732 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.4159, allocations: 4 kB / 0.5732 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.416, allocations: 12 kB / 0.5732 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.416, allocations: 3.938 kB / 0.5732 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.4161, allocations: 7.984 kB / 0.5732 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.4161, allocations: 4.75 kB / 0.5733 GB, free: 6.668 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 8.871e-05/0.4162, allocations: 136.2 kB / 0.5734 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.4162, allocations: 7.906 kB / 0.5734 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.4165, allocations: 122.6 kB / 0.5735 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.4165, allocations: 96 / 0.5735 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4165, allocations: 7.938 kB / 0.5735 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4165, allocations: 0 / 0.5735 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.417, allocations: 419.2 kB / 0.5739 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.417, allocations: 0 / 0.5739 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.417, allocations: 8.375 kB / 0.5739 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.417, allocations: 7.922 kB / 0.5739 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.417, allocations: 7.984 kB / 0.5739 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.417, allocations: 4 kB / 0.5739 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.417, allocations: 3.938 kB / 0.5739 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.4173, allocations: 212.2 kB / 0.5741 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.4173, allocations: 97 kB / 0.5742 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.4174, allocations: 0 / 0.5742 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.4174, allocations: 8 kB / 0.5742 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.4175, allocations: 11.92 kB / 0.5743 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.4175, allocations: 0 / 0.5743 GB, free: 5.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.4176, allocations: 148.7 kB / 0.5744 GB, free: 5.379 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4176, allocations: 0 / 0.5744 GB, free: 5.379 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000241/0.4179, allocations: 39.94 kB / 0.5744 GB, free: 5.34 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.0008941/0.4188, allocations: 467.1 kB / 0.5749 GB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.419, allocations: 71.84 kB / 0.575 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.419, allocations: 0 / 0.575 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.419, allocations: 31.98 kB / 0.575 GB, free: 4.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.4193, allocations: 23.97 kB / 0.575 GB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.4198, allocations: 282.6 kB / 0.5753 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.42, allocations: 0.7004 MB / 0.576 GB, free: 3.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.4201, allocations: 23.42 kB / 0.576 GB, free: 3.797 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4201, allocations: 0 / 0.576 GB, free: 3.797 MB / 394.7 MB Notification: Performance of Templates: time 0.003176/0.4233, allocations: 1.912 MB / 0.5778 GB, free: 1.895 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches