Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008495/0.0008496, allocations: 97.89 kB / 281.6 MB, free: 5.32 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.182/0.182, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.127e-05, allocations: 8.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3731/0.4978, allocations: 89.47 MB / 0.5821 GB, free: 7.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.4981, allocations: 71.97 kB / 0.5821 GB, free: 6.969 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01209/0.5102, allocations: 4.366 MB / 0.5864 GB, free: 2.609 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5102, allocations: 4 kB / 0.5864 GB, free: 2.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.5102, allocations: 4 kB / 0.5864 GB, free: 2.602 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005707/0.5108, allocations: 450.7 kB / 0.5868 GB, free: 2.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.5109, allocations: 19.97 kB / 0.5868 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.5109, allocations: 7.906 kB / 0.5869 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.5113, allocations: 220.5 kB / 0.5871 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.5113, allocations: 15.89 kB / 0.5871 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.5113, allocations: 8 kB / 0.5871 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/0.5115, allocations: 31.98 kB / 0.5871 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.5116, allocations: 94.48 kB / 0.5872 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5116, allocations: 0 / 0.5872 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5116, allocations: 0 / 0.5872 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5117, allocations: 4 kB / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.5122, allocations: 497.5 kB / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.5125, allocations: 78.67 kB / 0.5878 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.5125, allocations: 28.86 kB / 0.5878 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.5126, allocations: 8.156 kB / 0.5878 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.5127, allocations: 67.39 kB / 0.5879 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.5127, allocations: 3.938 kB / 0.5879 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002328/0.5129, allocations: 106.2 kB / 0.588 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.513, allocations: 51.41 kB / 0.588 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.5131, allocations: 174.6 kB / 0.5882 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5132, allocations: 25.7 kB / 0.5882 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.5133, allocations: 112 kB / 0.5883 GB, free: 436 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.5133, allocations: 27.56 kB / 0.5883 GB, free: 408 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.5133, allocations: 0 / 0.5883 GB, free: 408 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5134, allocations: 334.9 kB / 0.5887 GB, free: 64 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.5135, allocations: 24.06 kB / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.532e-05/0.5136, allocations: 56.3 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.496e-05/0.5136, allocations: 27.92 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5136, allocations: 4 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001773/0.5138, allocations: 109.4 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5138, allocations: 4 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5139, allocations: 12.06 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5139, allocations: 0 / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.514, allocations: 27.98 kB / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.514, allocations: 4 kB / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.5141, allocations: 11.92 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.5141, allocations: 8 kB / 0.5889 GB, free: 15.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.678e-05/0.5142, allocations: 114.1 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.5142, allocations: 15.81 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.5145, allocations: 115.4 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5145, allocations: 0 / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5145, allocations: 0 / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5145, allocations: 0 / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.5147, allocations: 190.3 kB / 0.5893 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5147, allocations: 3.984 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.5148, allocations: 12 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5148, allocations: 0 / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.5148, allocations: 4 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5148, allocations: 0 / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5148, allocations: 8.188 kB / 0.5894 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.5151, allocations: 172.7 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.5151, allocations: 104.8 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.5152, allocations: 0 / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.5152, allocations: 8 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.5153, allocations: 7.984 kB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.5153, allocations: 8.062 kB / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.5154, allocations: 132.1 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5154, allocations: 0 / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000241/0.5157, allocations: 32 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000813/0.5165, allocations: 347 kB / 0.5901 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.5167, allocations: 67.92 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5167, allocations: 0 / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.858e-05/0.5167, allocations: 31.94 kB / 0.5902 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.517, allocations: 30.12 kB / 0.5903 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.5175, allocations: 179.1 kB / 0.5904 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.5178, allocations: 0.7203 MB / 0.5911 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.255e-05/0.5179, allocations: 21.19 kB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.5179, allocations: 15.44 kB / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5179, allocations: 0 / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of Templates: time 0.004347/0.5223, allocations: 1.703 MB / 0.5928 GB, free: 11.69 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches