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.0008912/0.0008913, allocations: 181.2 kB / 17.41 MB, free: 4.402 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.283/1.283, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0009226/0.0009227, allocations: 94.3 kB / 271.9 MB, free: 8.238 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.3382/0.3382, allocations: 43.56 MB / 363.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 19.94 kB / 432.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 58.85 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2857/0.4038, allocations: 87.76 MB / 0.5656 GB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.4041, allocations: 75.97 kB / 0.5657 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.419, allocations: 5.883 MB / 0.5715 GB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.419, allocations: 0 / 0.5715 GB, free: 8.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.419, allocations: 0 / 0.5715 GB, free: 8.711 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004815/0.4195, allocations: 449.8 kB / 0.5719 GB, free: 8.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.4196, allocations: 8.031 kB / 0.5719 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.4196, allocations: 20.69 kB / 0.5719 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.4199, allocations: 237.2 kB / 0.5721 GB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4199, allocations: 4.375 kB / 0.5721 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.42, allocations: 4.375 kB / 0.5722 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.4201, allocations: 62.22 kB / 0.5722 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4201, allocations: 192 / 0.5722 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4201, allocations: 3.938 kB / 0.5722 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4202, allocations: 4 kB / 0.5722 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.529e-05/0.4203, allocations: 39.91 kB / 0.5723 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.4206, allocations: 312.8 kB / 0.5726 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.4208, allocations: 78.61 kB / 0.5726 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/0.4209, allocations: 28.84 kB / 0.5727 GB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.4209, allocations: 7.094 kB / 0.5727 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.4211, allocations: 80.16 kB / 0.5727 GB, free: 7.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.4211, allocations: 0 / 0.5727 GB, free: 7.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005594/0.4217, allocations: 221.3 kB / 0.573 GB, free: 7.016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.4217, allocations: 51.41 kB / 0.573 GB, free: 6.953 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.4219, allocations: 248.7 kB / 0.5732 GB, free: 6.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.422, allocations: 29.7 kB / 0.5733 GB, free: 6.664 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.422, allocations: 112.1 kB / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.4221, allocations: 31.55 kB / 0.5734 GB, free: 6.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.4221, allocations: 4 kB / 0.5734 GB, free: 6.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4222, allocations: 326.8 kB / 0.5737 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.4223, allocations: 31.92 kB / 0.5737 GB, free: 6.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.4224, allocations: 41.7 kB / 0.5738 GB, free: 6.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.4225, allocations: 77.64 kB / 0.5739 GB, free: 6.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4225, allocations: 0 / 0.5739 GB, free: 6.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001999/0.4227, allocations: 122 kB / 0.574 GB, free: 5.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4227, allocations: 7.984 kB / 0.574 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4227, allocations: 0 / 0.574 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.4228, allocations: 4 kB / 0.574 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.4228, allocations: 17.47 kB / 0.574 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4229, allocations: 4 kB / 0.574 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.4229, allocations: 8.016 kB / 0.574 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.4229, allocations: 4 kB / 0.574 GB, free: 5.859 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 (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.652e-05/0.423, allocations: 142.5 kB / 0.5742 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.4231, allocations: 15.81 kB / 0.5742 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.4233, allocations: 143.9 kB / 0.5743 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4234, allocations: 192 / 0.5743 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4234, allocations: 3.938 kB / 0.5743 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4234, allocations: 7.938 kB / 0.5743 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.4239, allocations: 471.1 kB / 0.5748 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4239, allocations: 0 / 0.5748 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.424, allocations: 15.98 kB / 0.5748 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.424, allocations: 0 / 0.5748 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.424, allocations: 8 kB / 0.5748 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.424, allocations: 0 / 0.5748 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.424, allocations: 3.938 kB / 0.5748 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.4243, allocations: 232.2 kB / 0.575 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.4243, allocations: 104.9 kB / 0.5751 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.4244, allocations: 3.938 kB / 0.5751 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.4244, allocations: 4 kB / 0.5751 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.4245, allocations: 15.92 kB / 0.5751 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.4245, allocations: 4 kB / 0.5751 GB, free: 4.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.4247, allocations: 192.2 kB / 0.5753 GB, free: 4.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4247, allocations: 0 / 0.5753 GB, free: 4.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.4249, allocations: 35.98 kB / 0.5754 GB, free: 4.375 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 (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.0009473/0.4259, allocations: 476.7 kB / 0.5758 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.4261, allocations: 79.78 kB / 0.5759 GB, free: 3.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4261, allocations: 0 / 0.5759 GB, free: 3.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.4262, allocations: 43.92 kB / 0.5759 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.4266, allocations: 31.97 kB / 0.576 GB, free: 3.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.4271, allocations: 350.9 kB / 0.5763 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.4274, allocations: 0.72 MB / 0.577 GB, free: 2.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.4274, allocations: 23.42 kB / 0.577 GB, free: 2.715 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4274, allocations: 0 / 0.577 GB, free: 2.715 MB / 394.7 MB Notification: Performance of Templates: time 0.003831/0.4313, allocations: 2.219 MB / 0.5792 GB, free: 0.5039 MB / 394.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