Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002258/0.002257, allocations: 181 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.083/2.083, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001055/0.001054, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.33/0.33, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.259e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1173, allocations: 58.86 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5647/0.6821, allocations: 87.62 MB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.6824, allocations: 77.73 kB / 0.5584 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02634/0.7088, allocations: 5.851 MB / 0.5642 GB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7088, allocations: 0 / 0.5642 GB, free: 10.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.7088, allocations: 4 kB / 0.5642 GB, free: 10.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005963/0.7095, allocations: 424.5 kB / 0.5646 GB, free: 10.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.7095, allocations: 8.031 kB / 0.5646 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.7096, allocations: 11.91 kB / 0.5646 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.7101, allocations: 237.3 kB / 0.5648 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.7101, allocations: 3.25 kB / 0.5648 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.7101, allocations: 7.984 kB / 0.5648 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.7103, allocations: 63.78 kB / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.7103, allocations: 0 / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.7104, allocations: 0 / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.7104, allocations: 0 / 0.5649 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.7105, allocations: 33.92 kB / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.7111, allocations: 319.2 kB / 0.5652 GB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.7113, allocations: 67.31 kB / 0.5653 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.7114, allocations: 27.53 kB / 0.5653 GB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.7114, allocations: 0 / 0.5653 GB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.7116, allocations: 85.19 kB / 0.5654 GB, free: 9.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.7116, allocations: 0 / 0.5654 GB, free: 9.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000708/0.7124, allocations: 185.4 kB / 0.5656 GB, free: 9.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.7124, allocations: 55.34 kB / 0.5656 GB, free: 9.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.7128, allocations: 226.2 kB / 0.5658 GB, free: 9.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.7129, allocations: 29.7 kB / 0.5659 GB, free: 9.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.713, allocations: 176.4 kB / 0.566 GB, free: 9.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.713, allocations: 27.19 kB / 0.5661 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.713, allocations: 4 kB / 0.5661 GB, free: 9.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7132, allocations: 318.1 kB / 0.5664 GB, free: 8.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.7133, allocations: 25.06 kB / 0.5664 GB, free: 8.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-05/0.7134, allocations: 35.66 kB / 0.5664 GB, free: 8.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.7135, allocations: 30.7 kB / 0.5665 GB, free: 8.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7135, allocations: 0 / 0.5665 GB, free: 8.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002704/0.7138, allocations: 110 kB / 0.5666 GB, free: 8.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.7138, allocations: 4 kB / 0.5666 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.7138, allocations: 0 / 0.5666 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.7138, allocations: 0 / 0.5666 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.7141, allocations: 27.86 kB / 0.5666 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.7141, allocations: 3.953 kB / 0.5666 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.7142, allocations: 11.25 kB / 0.5666 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.7142, allocations: 4 kB / 0.5666 GB, free: 8.488 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 (11): * Single equations (assignments): 11 * 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.544e-05/0.7143, allocations: 108.4 kB / 0.5667 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.7144, allocations: 19.84 kB / 0.5667 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.7148, allocations: 145.7 kB / 0.5669 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7148, allocations: 0 / 0.5669 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7148, allocations: 0 / 0.5669 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7149, allocations: 7.938 kB / 0.5669 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.7156, allocations: 456.2 kB / 0.5673 GB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.7157, allocations: 0 / 0.5673 GB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.7158, allocations: 23.95 kB / 0.5673 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.7158, allocations: 0 / 0.5673 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.7158, allocations: 11.7 kB / 0.5673 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.7158, allocations: 0 / 0.5673 GB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7158, allocations: 3.938 kB / 0.5674 GB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.7162, allocations: 228.3 kB / 0.5676 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.7163, allocations: 100.7 kB / 0.5677 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.7164, allocations: 12.12 kB / 0.5677 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.7165, allocations: 4 kB / 0.5677 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.7166, allocations: 15.17 kB / 0.5677 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.7166, allocations: 4 kB / 0.5677 GB, free: 7.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002737/0.7169, allocations: 192.7 kB / 0.5679 GB, free: 7.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7169, allocations: 0 / 0.5679 GB, free: 7.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.7173, allocations: 31.62 kB / 0.5679 GB, free: 7.188 MB / 378.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001278/0.7186, allocations: 437.5 kB / 0.5683 GB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.7189, allocations: 69.8 kB / 0.5684 GB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7189, allocations: 0 / 0.5684 GB, free: 6.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.719, allocations: 46.42 kB / 0.5684 GB, free: 6.727 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.7194, allocations: 25.55 kB / 0.5685 GB, free: 6.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/0.7201, allocations: 257.3 kB / 0.5687 GB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.7205, allocations: 0.723 MB / 0.5694 GB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.7206, allocations: 19.44 kB / 0.5694 GB, free: 5.684 MB / 378.7 MB Notification: Performance of SimCode: time 2.885e-06/0.7206, allocations: 4.438 kB / 0.5694 GB, free: 5.68 MB / 378.7 MB Notification: Performance of Templates: time 0.006073/0.7267, allocations: 2.226 MB / 0.5716 GB, free: 3.469 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches