Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 110.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 191.1 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2068/0.2068, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.336, allocations: 60.82 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00277/0.3389, allocations: 1.711 MB / 0.5213 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3402, allocations: 0.8726 MB / 0.5222 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.3403, allocations: 5.125 kB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.3406, allocations: 37.8 kB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.3408, allocations: 64.36 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3411, allocations: 109.3 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.3413, allocations: 96.92 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3414, allocations: 7.203 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3415, allocations: 45.14 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.456e-05/0.3416, allocations: 35.23 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3417, allocations: 4.25 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.3418, allocations: 42.02 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.3419, allocations: 22.8 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.3419, allocations: 33.41 kB / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.3422, allocations: 114.1 kB / 0.5228 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3422, allocations: 3.938 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3423, allocations: 1.156 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3423, allocations: 0 / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005766/0.3428, allocations: 420.2 kB / 0.5232 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3429, allocations: 12.66 kB / 0.5232 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.343, allocations: 10.8 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3432, allocations: 218.6 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3433, allocations: 3.141 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.3433, allocations: 6.188 kB / 0.5234 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3435, allocations: 54.98 kB / 0.5235 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3435, allocations: 3.938 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3435, allocations: 0.7969 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3435, allocations: 1.125 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.256e-05/0.3436, allocations: 21.81 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.344, allocations: 283.3 kB / 0.5238 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3442, allocations: 56.03 kB / 0.5238 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.3442, allocations: 28.27 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3443, allocations: 5.969 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.3444, allocations: 65.8 kB / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3444, allocations: 0 / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006123/0.345, allocations: 181.5 kB / 0.5241 GB, free: 360 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.3451, allocations: 61.27 kB / 0.5241 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3453, allocations: 193 kB / 0.5243 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3453, allocations: 27.14 kB / 0.5244 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.3453, allocations: 107.6 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.3454, allocations: 26.3 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.3454, allocations: 21.12 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3456, allocations: 331.6 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.3456, allocations: 17.14 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.071e-05/0.3457, allocations: 39.91 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.3458, allocations: 65.3 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3459, allocations: 0.75 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002068/0.3461, allocations: 108.9 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3461, allocations: 5.312 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3461, allocations: 1.031 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3461, allocations: 1.75 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.3462, allocations: 14.89 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3462, allocations: 1.875 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.3463, allocations: 14.91 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3463, allocations: 6 kB / 0.5251 GB, free: 15.5 MB / 398.1 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 (10): * Single equations (assignments): 10 * 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 0.0001081/0.3464, allocations: 123.3 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.3465, allocations: 18.3 kB / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.3465, allocations: 16.09 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3465, allocations: 4.453 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3465, allocations: 1.703 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.3466, allocations: 84.53 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3466, allocations: 5.578 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.056e-05/0.3466, allocations: 6.484 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3467, allocations: 9.141 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002286/0.3469, allocations: 170.5 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002626/0.3472, allocations: 279.8 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.553e-05/0.3473, allocations: 25.25 kB / 0.5258 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.3474, allocations: 152.2 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of Backend: time 2.61e-07/0.3474, allocations: 4 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.3488, allocations: 496.5 kB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006437/0.3494, allocations: 0.6705 MB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Templates: time 0.004521/0.354, allocations: 1.757 MB / 0.5288 GB, free: 13.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches