Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 186.1 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.926/1.926, 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.001101/0.001101, allocations: 94.05 kB / 270.9 MB, free: 8.367 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.4927/0.4927, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.000466, allocations: 20 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4507/0.5756, allocations: 87.71 MB / 0.5644 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5759, allocations: 75.97 kB / 0.5645 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02526/0.6012, allocations: 5.73 MB / 0.5701 GB, free: 9.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6012, allocations: 4.406 kB / 0.5701 GB, free: 9.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.6013, allocations: 4 kB / 0.5701 GB, free: 9.227 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.0007068/0.602, allocations: 466.1 kB / 0.5705 GB, free: 8.727 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.602, allocations: 8.031 kB / 0.5705 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.6021, allocations: 15.34 kB / 0.5705 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.6025, allocations: 223.7 kB / 0.5708 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.6025, allocations: 7.984 kB / 0.5708 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.6026, allocations: 0 / 0.5708 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.6028, allocations: 57.61 kB / 0.5708 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.6028, allocations: 4 kB / 0.5708 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.6029, allocations: 0 / 0.5708 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6029, allocations: 1.031 kB / 0.5708 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.603, allocations: 27.98 kB / 0.5708 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.6035, allocations: 308.8 kB / 0.5711 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.6038, allocations: 62.61 kB / 0.5712 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.6038, allocations: 3.938 kB / 0.5712 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.604, allocations: 71.52 kB / 0.5713 GB, free: 7.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/0.6041, allocations: 0 / 0.5713 GB, free: 7.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008114/0.6049, allocations: 189 kB / 0.5715 GB, free: 7.645 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.6049, allocations: 59.34 kB / 0.5715 GB, free: 7.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.6054, allocations: 254.8 kB / 0.5718 GB, free: 7.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.6054, allocations: 25.7 kB / 0.5718 GB, free: 7.289 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.321e-05/0.6055, allocations: 170.6 kB / 0.5719 GB, free: 7.121 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.6056, allocations: 23.72 kB / 0.572 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.6056, allocations: 0 / 0.572 GB, free: 7.098 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6057, allocations: 318.8 kB / 0.5723 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.902e-05/0.6058, allocations: 19.98 kB / 0.5723 GB, free: 6.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.606, allocations: 45.64 kB / 0.5723 GB, free: 6.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.864e-05/0.6061, allocations: 20 kB / 0.5723 GB, free: 6.688 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6061, allocations: 0 / 0.5723 GB, free: 6.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000294/0.6064, allocations: 101.7 kB / 0.5724 GB, free: 6.582 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6064, allocations: 4 kB / 0.5724 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6064, allocations: 0 / 0.5724 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6065, allocations: 0 / 0.5724 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.6066, allocations: 24.69 kB / 0.5725 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.6066, allocations: 3.984 kB / 0.5725 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.6067, allocations: 7.953 kB / 0.5725 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.6068, allocations: 0 / 0.5725 GB, free: 6.543 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 0.0001819/0.607, allocations: 145.8 kB / 0.5726 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.607, allocations: 15.81 kB / 0.5726 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.6074, allocations: 127.1 kB / 0.5728 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6074, allocations: 0 / 0.5728 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6074, allocations: 0 / 0.5728 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.6075, allocations: 3.984 kB / 0.5728 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/0.6082, allocations: 443.2 kB / 0.5732 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.6083, allocations: 8.031 kB / 0.5732 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.6083, allocations: 8 kB / 0.5732 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6084, allocations: 0 / 0.5732 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.6084, allocations: 4 kB / 0.5732 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.6084, allocations: 7.891 kB / 0.5732 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6084, allocations: 0 / 0.5732 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.6088, allocations: 233.8 kB / 0.5734 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.6089, allocations: 96.92 kB / 0.5735 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.609, allocations: 15.94 kB / 0.5735 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.6091, allocations: 384 / 0.5735 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.6092, allocations: 7.984 kB / 0.5735 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.6092, allocations: 8 kB / 0.5736 GB, free: 5.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003204/0.6096, allocations: 204.2 kB / 0.5738 GB, free: 5.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6096, allocations: 0 / 0.5738 GB, free: 5.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003862/0.61, allocations: 32 kB / 0.5738 GB, free: 5.098 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.001352/0.6113, allocations: 472 kB / 0.5742 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.6116, allocations: 71.83 kB / 0.5743 GB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6116, allocations: 4.062 kB / 0.5743 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.6118, allocations: 35.92 kB / 0.5743 GB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.6122, allocations: 25.66 kB / 0.5744 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.613, allocations: 366.8 kB / 0.5747 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.6134, allocations: 0.7238 MB / 0.5754 GB, free: 3.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.6135, allocations: 19.44 kB / 0.5754 GB, free: 3.441 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6135, allocations: 0 / 0.5754 GB, free: 3.441 MB / 394.7 MB Notification: Performance of Templates: time 0.006153/0.6196, allocations: 2.18 MB / 0.5776 GB, free: 1.266 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches