Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009391/0.0009395, allocations: 177.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008153/0.0008152, allocations: 92.58 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3027/0.3027, allocations: 44.21 MB / 387.5 MB, free: 38.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 12 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3245, allocations: 61.89 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.4302, allocations: 88.06 MB / 0.5955 GB, free: 7.098 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4305, allocations: 79.92 kB / 0.5956 GB, free: 7.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009371/0.4398, allocations: 3.726 MB / 0.5993 GB, free: 3.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4399, allocations: 0 / 0.5993 GB, free: 3.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.4399, allocations: 0 / 0.5993 GB, free: 3.297 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003653/0.4403, allocations: 402.8 kB / 0.5996 GB, free: 2.855 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.4403, allocations: 8.562 kB / 0.5997 GB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.4403, allocations: 7.906 kB / 0.5997 GB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.4406, allocations: 194.8 kB / 0.5999 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.4406, allocations: 0 / 0.5999 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.4406, allocations: 4 kB / 0.5999 GB, free: 2.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4407, allocations: 57.62 kB / 0.5999 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4408, allocations: 4 kB / 0.5999 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.4408, allocations: 0 / 0.5999 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4408, allocations: 0 / 0.5999 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.845e-05/0.4409, allocations: 23.98 kB / 0.5999 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.4412, allocations: 288.8 kB / 0.6002 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.4414, allocations: 46.56 kB / 0.6003 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.4415, allocations: 3.984 kB / 0.6003 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.4415, allocations: 38.5 kB / 0.6003 GB, free: 2.078 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4415, allocations: 0 / 0.6003 GB, free: 2.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005214/0.442, allocations: 165.4 kB / 0.6005 GB, free: 1.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.4421, allocations: 51.41 kB / 0.6005 GB, free: 1.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4422, allocations: 142.9 kB / 0.6006 GB, free: 1.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.4422, allocations: 29.7 kB / 0.6007 GB, free: 1.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.4423, allocations: 96.12 kB / 0.6008 GB, free: 1.566 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.4423, allocations: 11.75 kB / 0.6008 GB, free: 1.555 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.4423, allocations: 4 kB / 0.6008 GB, free: 1.551 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4424, allocations: 318.8 kB / 0.6011 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.4425, allocations: 23.98 kB / 0.6011 GB, free: 1.207 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.4426, allocations: 31.92 kB / 0.6011 GB, free: 1.176 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.4426, allocations: 28.17 kB / 0.6012 GB, free: 1.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4427, allocations: 3.953 kB / 0.6012 GB, free: 1.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001802/0.4428, allocations: 101.6 kB / 0.6013 GB, free: 1.039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4429, allocations: 9.719 kB / 0.6013 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4429, allocations: 0 / 0.6013 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4429, allocations: 0 / 0.6013 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.443, allocations: 15.98 kB / 0.6013 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.443, allocations: 0 / 0.6013 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/0.443, allocations: 4 kB / 0.6013 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.443, allocations: 4 kB / 0.6013 GB, free: 1.008 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.553e-05/0.4431, allocations: 127.1 kB / 0.6014 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.4432, allocations: 11.86 kB / 0.6014 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.4434, allocations: 101.9 kB / 0.6015 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4434, allocations: 4 kB / 0.6015 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4434, allocations: 0 / 0.6015 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.4434, allocations: 0 / 0.6015 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.4439, allocations: 370.4 kB / 0.6019 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4439, allocations: 4 kB / 0.6019 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.03e-05/0.4439, allocations: 11.98 kB / 0.6019 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4439, allocations: 4.281 kB / 0.6019 GB, free: 324 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4439, allocations: 4 kB / 0.6019 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.444, allocations: 0 / 0.6019 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.444, allocations: 0 / 0.6019 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.4442, allocations: 199.3 kB / 0.6021 GB, free: 104 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.4443, allocations: 93.41 kB / 0.6022 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.4443, allocations: 4 kB / 0.6022 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.4444, allocations: 15.94 kB / 0.6022 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.4444, allocations: 7.984 kB / 0.6022 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.4444, allocations: 0 / 0.6022 GB, free: 15.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.755e-05/0.4445, allocations: 111.3 kB / 0.6023 GB, free: 15.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4445, allocations: 4 kB / 0.6023 GB, free: 15.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000217/0.4447, allocations: 19.98 kB / 0.6023 GB, free: 15.83 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007882/0.4455, allocations: 409 kB / 0.6027 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.4457, allocations: 51.97 kB / 0.6028 GB, free: 15.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4457, allocations: 0 / 0.6028 GB, free: 15.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.4458, allocations: 35.92 kB / 0.6028 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.446, allocations: 27.64 kB / 0.6028 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.4463, allocations: 196.5 kB / 0.603 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4466, allocations: 0.7082 MB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.4467, allocations: 20.16 kB / 0.6037 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.4467, allocations: 11.44 kB / 0.6037 GB, free: 14.49 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4467, allocations: 4 kB / 0.6037 GB, free: 14.49 MB / 426.7 MB Notification: Performance of Templates: time 0.002883/0.4496, allocations: 1.048 MB / 0.6048 GB, free: 13.45 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches