Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.359/1.359, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001251/0.001251, allocations: 102.3 kB / 291.9 MB, free: 10.94 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.3545/0.3545, allocations: 44.14 MB / 386.1 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 51.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3126, allocations: 60.81 MB / 0.5064 GB, free: 38.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002646/0.3153, allocations: 1.778 MB / 0.5081 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3164, allocations: 0.8762 MB / 0.509 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.3165, allocations: 2.875 kB / 0.509 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.3167, allocations: 97.59 kB / 0.5091 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.3169, allocations: 90.17 kB / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.3172, allocations: 93.72 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.3173, allocations: 123.8 kB / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.3174, allocations: 14.91 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.3175, allocations: 51.34 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.762e-05/0.3176, allocations: 70.84 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3176, allocations: 3.875 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.3177, allocations: 49.56 kB / 0.5096 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.3177, allocations: 33.66 kB / 0.5096 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.3178, allocations: 49.3 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.318, allocations: 146.3 kB / 0.5098 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.318, allocations: 0 / 0.5098 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.318, allocations: 0 / 0.5098 GB, free: 36.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.439e-05/0.318, allocations: 0 / 0.5098 GB, free: 36.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004259/0.3184, allocations: 452.2 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.3185, allocations: 8.781 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3185, allocations: 17.5 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.3187, allocations: 222.4 kB / 0.5104 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3187, allocations: 7.188 kB / 0.5105 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3188, allocations: 7.062 kB / 0.5105 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3189, allocations: 68.86 kB / 0.5105 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3189, allocations: 0 / 0.5105 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3189, allocations: 2.094 kB / 0.5105 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3189, allocations: 0 / 0.5105 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.319, allocations: 32.91 kB / 0.5106 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.3193, allocations: 312.8 kB / 0.5109 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3196, allocations: 78.03 kB / 0.5109 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.691e-05/0.3196, allocations: 26.66 kB / 0.511 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3197, allocations: 0 / 0.511 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.3198, allocations: 74.75 kB / 0.511 GB, free: 34.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.3198, allocations: 4 kB / 0.511 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006544/0.3205, allocations: 276.3 kB / 0.5113 GB, free: 34.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.3205, allocations: 61.88 kB / 0.5114 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.3207, allocations: 248.7 kB / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.3207, allocations: 28.52 kB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.3208, allocations: 112.9 kB / 0.5117 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.3208, allocations: 40.94 kB / 0.5118 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.3208, allocations: 29.97 kB / 0.5118 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.3209, allocations: 328.7 kB / 0.5121 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.321, allocations: 33.47 kB / 0.5121 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.321, allocations: 48.28 kB / 0.5122 GB, free: 34.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3212, allocations: 84.86 kB / 0.5123 GB, free: 33.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3212, allocations: 0 / 0.5123 GB, free: 33.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001919/0.3214, allocations: 158.2 kB / 0.5124 GB, free: 33.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.3214, allocations: 5.656 kB / 0.5124 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3214, allocations: 0 / 0.5124 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.3214, allocations: 0 / 0.5124 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.3215, allocations: 31.11 kB / 0.5125 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3215, allocations: 3.938 kB / 0.5125 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.3216, allocations: 6.938 kB / 0.5125 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3216, allocations: 2.812 kB / 0.5125 GB, free: 33.87 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/0.3216, allocations: 138.1 kB / 0.5126 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.3217, allocations: 17.69 kB / 0.5126 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.3217, allocations: 25.22 kB / 0.5126 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3217, allocations: 2.906 kB / 0.5126 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3217, allocations: 3.938 kB / 0.5126 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3217, allocations: 0 / 0.5126 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.3222, allocations: 476.2 kB / 0.5131 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3222, allocations: 6.938 kB / 0.5131 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.3222, allocations: 14.97 kB / 0.5131 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3223, allocations: 2.844 kB / 0.5131 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3223, allocations: 10.78 kB / 0.5131 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3223, allocations: 0 / 0.5131 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3223, allocations: 0 / 0.5131 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.3227, allocations: 0.8443 MB / 0.514 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.3227, allocations: 94.91 kB / 0.514 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3228, allocations: 10.38 kB / 0.5141 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.3228, allocations: 0 / 0.5141 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.3229, allocations: 16.98 kB / 0.5141 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3229, allocations: 6.406 kB / 0.5141 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.323, allocations: 188 kB / 0.5143 GB, free: 32.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.323, allocations: 3.938 kB / 0.5143 GB, free: 32.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003486/0.3234, allocations: 32.38 kB / 0.5143 GB, free: 32.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009498/0.3243, allocations: 0.5162 MB / 0.5148 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.3245, allocations: 90.05 kB / 0.5149 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3245, allocations: 0 / 0.5149 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-05/0.3246, allocations: 41.5 kB / 0.5149 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.325, allocations: 43.05 kB / 0.515 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.3255, allocations: 482.6 kB / 0.5154 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.3257, allocations: 0.7243 MB / 0.5161 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.983e-05/0.3257, allocations: 26.06 kB / 0.5162 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.3258, allocations: 21.41 kB / 0.5162 GB, free: 30.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3258, allocations: 0 / 0.5162 GB, free: 30.91 MB / 378.7 MB Notification: Performance of Templates: time 0.004264/0.3301, allocations: 2.037 MB / 0.5182 GB, free: 30.68 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches