Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, 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.349/1.349, 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.001108/0.001108, allocations: 94.81 kB / 291.9 MB, free: 10.95 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.3628/0.3628, allocations: 44.13 MB / 386.1 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 55.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3127, allocations: 60.8 MB / 0.5064 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002478/0.3152, allocations: 1.773 MB / 0.5081 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3162, allocations: 0.8786 MB / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.3163, allocations: 4 kB / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.3165, allocations: 85.67 kB / 0.5091 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.3167, allocations: 59.7 kB / 0.5091 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.3169, allocations: 103.9 kB / 0.5092 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3171, allocations: 105.9 kB / 0.5093 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.3172, allocations: 25.31 kB / 0.5094 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.3172, allocations: 44.78 kB / 0.5094 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.3173, allocations: 68.69 kB / 0.5095 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3174, allocations: 2.375 kB / 0.5095 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/0.3175, allocations: 60.14 kB / 0.5095 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.3175, allocations: 27.95 kB / 0.5095 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.3175, allocations: 35.81 kB / 0.5096 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3177, allocations: 129.4 kB / 0.5097 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3177, allocations: 0 / 0.5097 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.3177, allocations: 0 / 0.5097 GB, free: 36.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.3177, allocations: 0 / 0.5097 GB, free: 36.33 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003989/0.3181, allocations: 437.2 kB / 0.5101 GB, free: 35.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.3182, allocations: 8.656 kB / 0.5101 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.3182, allocations: 18.59 kB / 0.5101 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3184, allocations: 215.9 kB / 0.5104 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3184, allocations: 6.625 kB / 0.5104 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.3184, allocations: 7.062 kB / 0.5104 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3185, allocations: 54.56 kB / 0.5104 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3186, allocations: 0 / 0.5104 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3186, allocations: 4 kB / 0.5104 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3186, allocations: 10.88 kB / 0.5104 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.883e-05/0.3187, allocations: 26.22 kB / 0.5105 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.319, allocations: 304.5 kB / 0.5107 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3192, allocations: 58.75 kB / 0.5108 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.3192, allocations: 27.52 kB / 0.5108 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3192, allocations: 0 / 0.5108 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.3194, allocations: 75.58 kB / 0.5109 GB, free: 35.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3194, allocations: 0 / 0.5109 GB, free: 35.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006137/0.32, allocations: 239.8 kB / 0.5111 GB, free: 35.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.32, allocations: 55.34 kB / 0.5112 GB, free: 35.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3202, allocations: 229.2 kB / 0.5114 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.3202, allocations: 29.7 kB / 0.5114 GB, free: 34.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.3202, allocations: 105.4 kB / 0.5115 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.3203, allocations: 36.14 kB / 0.5116 GB, free: 34.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.3203, allocations: 25.47 kB / 0.5116 GB, free: 34.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.3204, allocations: 331.1 kB / 0.5119 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.3204, allocations: 25.23 kB / 0.5119 GB, free: 34.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.3205, allocations: 50.16 kB / 0.512 GB, free: 34.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3206, allocations: 83.72 kB / 0.5121 GB, free: 34.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3206, allocations: 0 / 0.5121 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001757/0.3208, allocations: 129.9 kB / 0.5122 GB, free: 34.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.3208, allocations: 5 kB / 0.5122 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3208, allocations: 0 / 0.5122 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3209, allocations: 2.594 kB / 0.5122 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.3209, allocations: 21.28 kB / 0.5122 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3209, allocations: 7.969 kB / 0.5122 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.321, allocations: 10.2 kB / 0.5122 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.321, allocations: 3.766 kB / 0.5122 GB, free: 34.21 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 (13): * Single equations (assignments): 13 * 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 6.807e-05/0.3211, allocations: 135 kB / 0.5124 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.3211, allocations: 13.53 kB / 0.5124 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.3212, allocations: 15 kB / 0.5124 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3212, allocations: 6.156 kB / 0.5124 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3212, allocations: 3.938 kB / 0.5124 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3212, allocations: 0 / 0.5124 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.3215, allocations: 464.2 kB / 0.5128 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3216, allocations: 0 / 0.5128 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.3216, allocations: 18.58 kB / 0.5129 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3216, allocations: 2.781 kB / 0.5129 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3216, allocations: 3.562 kB / 0.5129 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3216, allocations: 0 / 0.5129 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3216, allocations: 4.062 kB / 0.5129 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.322, allocations: 0.8291 MB / 0.5137 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.322, allocations: 87.73 kB / 0.5138 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.3221, allocations: 6.812 kB / 0.5138 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.3222, allocations: 6.656 kB / 0.5138 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.3222, allocations: 16.64 kB / 0.5138 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3222, allocations: 9.938 kB / 0.5138 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.282e-05/0.3223, allocations: 173.5 kB / 0.514 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3223, allocations: 0 / 0.514 GB, free: 32.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.3227, allocations: 32.03 kB / 0.514 GB, free: 32.64 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 (11): * Single equations (assignments): 9 * 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.0009627/0.3236, allocations: 0.5142 MB / 0.5145 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.3238, allocations: 84.23 kB / 0.5146 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3238, allocations: 0 / 0.5146 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.3239, allocations: 39.92 kB / 0.5146 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.3242, allocations: 32.3 kB / 0.5146 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.3247, allocations: 439.2 kB / 0.5151 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.3249, allocations: 0.7197 MB / 0.5158 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.325, allocations: 19.2 kB / 0.5158 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.325, allocations: 20.91 kB / 0.5158 GB, free: 31.29 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.325, allocations: 0 / 0.5158 GB, free: 31.29 MB / 378.7 MB Notification: Performance of Templates: time 0.004185/0.3292, allocations: 1.924 MB / 0.5177 GB, free: 31.09 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches