Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008798/0.0008798, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.277/1.277, 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.0007642/0.0007642, allocations: 97.41 kB / 271.9 MB, free: 8.234 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.2999/0.2999, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 27.98 kB / 432.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 58.84 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2759/0.3782, allocations: 87.77 MB / 0.5656 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.3785, allocations: 71.97 kB / 0.5657 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01491/0.3934, allocations: 5.344 MB / 0.5709 GB, free: 9.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3935, allocations: 4.141 kB / 0.5709 GB, free: 9.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3935, allocations: 0 / 0.5709 GB, free: 9.129 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.0005178/0.394, allocations: 414 kB / 0.5713 GB, free: 8.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3941, allocations: 8.031 kB / 0.5713 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.3941, allocations: 8.844 kB / 0.5713 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3944, allocations: 225.5 kB / 0.5716 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3945, allocations: 384 / 0.5716 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.3945, allocations: 4.375 kB / 0.5716 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3946, allocations: 58.17 kB / 0.5716 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3947, allocations: 192 / 0.5716 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3947, allocations: 7.875 kB / 0.5716 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3947, allocations: 3.984 kB / 0.5716 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.264e-05/0.3948, allocations: 23.98 kB / 0.5717 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.3952, allocations: 285.5 kB / 0.5719 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3953, allocations: 62.55 kB / 0.572 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.3954, allocations: 24.84 kB / 0.572 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.3954, allocations: 4 kB / 0.572 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.3956, allocations: 75.3 kB / 0.5721 GB, free: 7.785 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3956, allocations: 0 / 0.5721 GB, free: 7.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005453/0.3961, allocations: 165.3 kB / 0.5722 GB, free: 7.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.3962, allocations: 55.41 kB / 0.5723 GB, free: 7.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.3964, allocations: 178.2 kB / 0.5725 GB, free: 7.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3964, allocations: 25.7 kB / 0.5725 GB, free: 7.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.3965, allocations: 100.1 kB / 0.5726 GB, free: 7.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.3965, allocations: 23.7 kB / 0.5726 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.3965, allocations: 4 kB / 0.5726 GB, free: 7.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3967, allocations: 330.8 kB / 0.5729 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.3967, allocations: 19.98 kB / 0.5729 GB, free: 6.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.3968, allocations: 37.64 kB / 0.573 GB, free: 6.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.3969, allocations: 61.7 kB / 0.573 GB, free: 6.746 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3969, allocations: 0.75 kB / 0.573 GB, free: 6.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002143/0.3971, allocations: 113.4 kB / 0.5731 GB, free: 6.629 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3972, allocations: 4 kB / 0.5732 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3972, allocations: 0 / 0.5732 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3972, allocations: 0 / 0.5732 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.3973, allocations: 16 kB / 0.5732 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3973, allocations: 0 / 0.5732 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.3974, allocations: 7.984 kB / 0.5732 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3974, allocations: 192 / 0.5732 GB, free: 6.602 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.0001019/0.3975, allocations: 137.7 kB / 0.5733 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.3975, allocations: 11.84 kB / 0.5733 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.3977, allocations: 118.3 kB / 0.5734 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3978, allocations: 4 kB / 0.5734 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3978, allocations: 0 / 0.5734 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3978, allocations: 3.984 kB / 0.5734 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.3982, allocations: 415.1 kB / 0.5738 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3983, allocations: 7.969 kB / 0.5738 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.3983, allocations: 12 kB / 0.5739 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3983, allocations: 0 / 0.5739 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.3983, allocations: 0 / 0.5739 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3983, allocations: 4.234 kB / 0.5739 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3983, allocations: 3.938 kB / 0.5739 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.3986, allocations: 212.2 kB / 0.5741 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.3987, allocations: 93.02 kB / 0.5742 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3987, allocations: 0 / 0.5742 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.3988, allocations: 8.359 kB / 0.5742 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3988, allocations: 7.938 kB / 0.5742 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3988, allocations: 11.98 kB / 0.5742 GB, free: 5.457 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.3989, allocations: 129.5 kB / 0.5743 GB, free: 5.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.399, allocations: 0 / 0.5743 GB, free: 5.332 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.3992, allocations: 28 kB / 0.5743 GB, free: 5.305 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.001005/0.4002, allocations: 485.8 kB / 0.5748 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.4004, allocations: 55.98 kB / 0.5748 GB, free: 4.875 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4004, allocations: 3.938 kB / 0.5748 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.4005, allocations: 36.05 kB / 0.5749 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.4009, allocations: 26.22 kB / 0.5749 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.4014, allocations: 270.3 kB / 0.5752 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.4017, allocations: 0.7004 MB / 0.5758 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.4017, allocations: 15.44 kB / 0.5759 GB, free: 3.777 MB / 394.7 MB Notification: Performance of SimCode: time 4.4e-07/0.4017, allocations: 0 / 0.5759 GB, free: 3.777 MB / 394.7 MB Notification: Performance of Templates: time 0.003701/0.4054, allocations: 1.883 MB / 0.5777 GB, free: 1.902 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches