Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.995/1.995, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001128/0.001128, allocations: 95.39 kB / 270.9 MB, free: 8.379 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.5177/0.5177, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004679, allocations: 15.98 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.58, allocations: 87.54 MB / 0.5642 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5803, allocations: 75.97 kB / 0.5643 GB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02418/0.6045, allocations: 5.233 MB / 0.5694 GB, free: 9.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6046, allocations: 0 / 0.5694 GB, free: 9.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.34e-05/0.6047, allocations: 7.984 kB / 0.5694 GB, free: 9.75 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.0008392/0.6055, allocations: 411.1 kB / 0.5698 GB, free: 9.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.6056, allocations: 8.031 kB / 0.5698 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.582e-05/0.6057, allocations: 7.906 kB / 0.5698 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.6062, allocations: 221.3 kB / 0.57 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.6063, allocations: 4 kB / 0.57 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.6063, allocations: 8 kB / 0.57 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.6066, allocations: 45.67 kB / 0.5701 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.6066, allocations: 0 / 0.5701 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.6066, allocations: 0 / 0.5701 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.6066, allocations: 4 kB / 0.5701 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.6068, allocations: 17.02 kB / 0.5701 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.6072, allocations: 189.5 kB / 0.5703 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.6076, allocations: 62.55 kB / 0.5703 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.6076, allocations: 0 / 0.5703 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.6079, allocations: 63.48 kB / 0.5704 GB, free: 8.578 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 3.206e-06/0.6079, allocations: 0 / 0.5704 GB, free: 8.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005896/0.6085, allocations: 102.1 kB / 0.5705 GB, free: 8.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.6086, allocations: 59.41 kB / 0.5706 GB, free: 8.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.609, allocations: 165.4 kB / 0.5707 GB, free: 8.234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.6091, allocations: 25.7 kB / 0.5707 GB, free: 8.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.6092, allocations: 158.6 kB / 0.5709 GB, free: 8.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.6093, allocations: 19.8 kB / 0.5709 GB, free: 8.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.6093, allocations: 3.938 kB / 0.5709 GB, free: 8.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6095, allocations: 314.8 kB / 0.5712 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.6096, allocations: 15.98 kB / 0.5712 GB, free: 7.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.6098, allocations: 37.69 kB / 0.5713 GB, free: 7.648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.6099, allocations: 20.25 kB / 0.5713 GB, free: 7.629 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.61, allocations: 3.953 kB / 0.5713 GB, free: 7.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003681/0.6104, allocations: 73.62 kB / 0.5714 GB, free: 7.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.6104, allocations: 4 kB / 0.5714 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.6104, allocations: 7.984 kB / 0.5714 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.6105, allocations: 0 / 0.5714 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.6106, allocations: 8 kB / 0.5714 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6107, allocations: 4.781 kB / 0.5714 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.6108, allocations: 4 kB / 0.5714 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.6108, allocations: 4 kB / 0.5714 GB, free: 7.516 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.0001867/0.611, allocations: 137.7 kB / 0.5715 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.6111, allocations: 11.86 kB / 0.5715 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.6116, allocations: 97.88 kB / 0.5716 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.6116, allocations: 0 / 0.5716 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6116, allocations: 0 / 0.5716 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6117, allocations: 7.938 kB / 0.5716 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.612, allocations: 185.6 kB / 0.5718 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.612, allocations: 0 / 0.5718 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.6121, allocations: 7.953 kB / 0.5718 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.6122, allocations: 3.938 kB / 0.5718 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.6122, allocations: 8 kB / 0.5718 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6122, allocations: 0 / 0.5718 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6122, allocations: 0 / 0.5718 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.6127, allocations: 113 kB / 0.5719 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.6128, allocations: 89 kB / 0.572 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.6129, allocations: 7.953 kB / 0.572 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.613, allocations: 4.188 kB / 0.572 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.6131, allocations: 11.98 kB / 0.572 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.6131, allocations: 0 / 0.572 GB, free: 6.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002763/0.6134, allocations: 144.8 kB / 0.5722 GB, free: 6.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.6134, allocations: 0 / 0.5722 GB, free: 6.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004746/0.6139, allocations: 19.94 kB / 0.5722 GB, free: 6.582 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.001721/0.6157, allocations: 428 kB / 0.5726 GB, free: 6.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004316/0.6161, allocations: 43.97 kB / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6162, allocations: 0 / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.6163, allocations: 23.94 kB / 0.5727 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.6168, allocations: 23.97 kB / 0.5727 GB, free: 6.168 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.6174, allocations: 249.4 kB / 0.5729 GB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.6178, allocations: 0.7082 MB / 0.5736 GB, free: 5.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.6179, allocations: 11.44 kB / 0.5736 GB, free: 5.156 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6179, allocations: 4 kB / 0.5736 GB, free: 5.152 MB / 394.7 MB Notification: Performance of Templates: time 0.005262/0.6232, allocations: 1.713 MB / 0.5753 GB, free: 3.445 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches