Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, 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.001229/0.001229, allocations: 187.1 kB / 19.39 MB, free: 3.695 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.399/1.399, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2208/0.2208, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 67.89 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3323, allocations: 60.82 MB / 0.5197 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002701/0.335, allocations: 1.734 MB / 0.5214 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3363, allocations: 0.877 MB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.3363, allocations: 1.062 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.3367, allocations: 85.56 kB / 0.5223 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.3369, allocations: 79.62 kB / 0.5224 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3371, allocations: 105.7 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3373, allocations: 109.3 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3374, allocations: 25.61 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.3375, allocations: 54.5 kB / 0.5227 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3376, allocations: 61.98 kB / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.3377, allocations: 3.406 kB / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3378, allocations: 55.62 kB / 0.5228 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.3378, allocations: 24.78 kB / 0.5228 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.3379, allocations: 38.62 kB / 0.5228 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.3381, allocations: 138.1 kB / 0.523 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3381, allocations: 0.7031 kB / 0.523 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3381, allocations: 4 kB / 0.523 GB, free: 1.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.3381, allocations: 1.375 kB / 0.523 GB, free: 1.488 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004518/0.3386, allocations: 422.3 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3386, allocations: 9.031 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.3387, allocations: 10.09 kB / 0.5234 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3389, allocations: 215.8 kB / 0.5236 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3389, allocations: 2.531 kB / 0.5236 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.339, allocations: 8.25 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3391, allocations: 69.27 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3391, allocations: 0.6562 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3392, allocations: 1.094 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3392, allocations: 5.172 kB / 0.5237 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.3393, allocations: 20.48 kB / 0.5237 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.3396, allocations: 300 kB / 0.524 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.3398, allocations: 68.03 kB / 0.524 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.3399, allocations: 22.06 kB / 0.5241 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3399, allocations: 1.156 kB / 0.5241 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.3401, allocations: 72.25 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3401, allocations: 0 / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006844/0.3408, allocations: 239.8 kB / 0.5244 GB, free: 280 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.71e-05/0.3408, allocations: 57.38 kB / 0.5244 GB, free: 212 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.341, allocations: 217.7 kB / 0.5246 GB, free: 68 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.341, allocations: 26.89 kB / 0.5247 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.3411, allocations: 105.6 kB / 0.5248 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.3411, allocations: 32.34 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.3412, allocations: 27.38 kB / 0.5248 GB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3413, allocations: 328.5 kB / 0.5251 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.3413, allocations: 38.58 kB / 0.5252 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.3414, allocations: 47.8 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.3416, allocations: 79.91 kB / 0.5253 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3416, allocations: 6.156 kB / 0.5253 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002061/0.3418, allocations: 123.6 kB / 0.5254 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3418, allocations: 5.25 kB / 0.5254 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3418, allocations: 5.438 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3418, allocations: 1.406 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.3419, allocations: 19.97 kB / 0.5254 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3419, allocations: 9.062 kB / 0.5254 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.342, allocations: 6.359 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.342, allocations: 5.562 kB / 0.5255 GB, free: 15.39 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 (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 9.465e-05/0.3421, allocations: 128.4 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.3421, allocations: 10.12 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.3422, allocations: 25.75 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3422, allocations: 2.344 kB / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3422, allocations: 0 / 0.5256 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.3423, allocations: 92.62 kB / 0.5257 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3423, allocations: 1.969 kB / 0.5257 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.442e-05/0.3423, allocations: 3.672 kB / 0.5257 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.3424, allocations: 14.64 kB / 0.5257 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000245/0.3426, allocations: 202.8 kB / 0.5259 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002862/0.3429, allocations: 311 kB / 0.5262 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.853e-05/0.343, allocations: 35.94 kB / 0.5263 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.3432, allocations: 160.1 kB / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.3432, allocations: 0 / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.3447, allocations: 0.5475 MB / 0.5269 GB, free: 14.4 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007511/0.3454, allocations: 0.689 MB / 0.5276 GB, free: 13.76 MB / 398.1 MB Notification: Performance of Templates: time 0.0053/0.3507, allocations: 2.055 MB / 0.5296 GB, free: 13.01 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches