Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 111.7 kB / 18.45 MB, free: 4.566 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.001114/0.001114, allocations: 190 kB / 19.38 MB, free: 3.641 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.312/1.312, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2009/0.2009, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 60.82 MB / 0.5197 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002558/0.3183, allocations: 1.703 MB / 0.5213 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3195, allocations: 0.8753 MB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.3195, allocations: 1.156 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.3198, allocations: 35.58 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.32, allocations: 54.98 kB / 0.5223 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.3203, allocations: 114.3 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.3204, allocations: 92.05 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.3205, allocations: 20.31 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.3206, allocations: 41.67 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.3207, allocations: 29.58 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3207, allocations: 4.031 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.3208, allocations: 41.73 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.3209, allocations: 22.14 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.3209, allocations: 38.12 kB / 0.5226 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.3211, allocations: 112 kB / 0.5227 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3211, allocations: 0 / 0.5227 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3212, allocations: 4 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3212, allocations: 1.25 kB / 0.5228 GB, free: 1.535 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.0004257/0.3216, allocations: 418.7 kB / 0.5232 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3216, allocations: 8.688 kB / 0.5232 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.3217, allocations: 10.08 kB / 0.5232 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3219, allocations: 202.4 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.3219, allocations: 2.406 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3219, allocations: 7.125 kB / 0.5234 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.3221, allocations: 61.02 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3221, allocations: 1.156 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3221, allocations: 0 / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3221, allocations: 5.938 kB / 0.5234 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.3222, allocations: 17.73 kB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.3225, allocations: 298.2 kB / 0.5237 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3226, allocations: 64.28 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.3227, allocations: 20.17 kB / 0.5238 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.3227, allocations: 1.469 kB / 0.5238 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.3228, allocations: 64.98 kB / 0.5239 GB, free: 448 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3229, allocations: 0 / 0.5239 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005116/0.3234, allocations: 169.4 kB / 0.524 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.3234, allocations: 65.45 kB / 0.5241 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3236, allocations: 181.8 kB / 0.5243 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3236, allocations: 31.08 kB / 0.5243 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.3236, allocations: 98.92 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.3236, allocations: 26.58 kB / 0.5244 GB, free: 8 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.3237, allocations: 22.69 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3238, allocations: 325.9 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.3239, allocations: 26.08 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.324, allocations: 38.75 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.3241, allocations: 62.02 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3241, allocations: 0 / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.3243, allocations: 106.3 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3243, allocations: 5.344 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3243, allocations: 0.5625 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3243, allocations: 5.844 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.3244, allocations: 15.55 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3244, allocations: 0.6094 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.3245, allocations: 6.25 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.3245, allocations: 7.75 kB / 0.525 GB, free: 15.52 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.0001366/0.3247, allocations: 125.8 kB / 0.5251 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.3247, allocations: 16.81 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/0.3248, allocations: 16.12 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3248, allocations: 4.75 kB / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3248, allocations: 0 / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.3249, allocations: 88.81 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.3249, allocations: 6.656 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.311e-05/0.325, allocations: 3.078 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.325, allocations: 11.61 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002114/0.3252, allocations: 174.1 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002366/0.3255, allocations: 280.1 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.333e-05/0.3255, allocations: 25.67 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.3256, allocations: 144.1 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Backend: time 2.4e-07/0.3257, allocations: 0 / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.3275, allocations: 499.1 kB / 0.5264 GB, free: 14.58 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007411/0.3282, allocations: 0.6626 MB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.005873/0.3341, allocations: 1.754 MB / 0.5287 GB, free: 13.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches