Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 111.8 kB / 18.46 MB, free: 4.613 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.001294/0.001294, allocations: 190 kB / 19.39 MB, free: 3.684 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.344/1.344, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.2217/0.2217, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.89 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3126, allocations: 60.82 MB / 0.5197 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002811/0.3154, allocations: 1.707 MB / 0.5213 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.3174, allocations: 1.483 MB / 0.5228 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.3175, allocations: 5.156 kB / 0.5228 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.3178, allocations: 36.88 kB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.318, allocations: 55.47 kB / 0.5229 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3183, allocations: 114.1 kB / 0.523 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3185, allocations: 100.7 kB / 0.5231 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.3186, allocations: 11.84 kB / 0.5231 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.931e-05/0.3187, allocations: 42.03 kB / 0.5231 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.3189, allocations: 39.7 kB / 0.5232 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.3189, allocations: 4.594 kB / 0.5232 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.3191, allocations: 57.86 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.3192, allocations: 23.55 kB / 0.5232 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.3192, allocations: 29.48 kB / 0.5233 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.3195, allocations: 122.3 kB / 0.5234 GB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3196, allocations: 0 / 0.5234 GB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3196, allocations: 5.219 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3196, allocations: 0 / 0.5234 GB, free: 1.082 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.0005193/0.3201, allocations: 408.1 kB / 0.5238 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3202, allocations: 8.469 kB / 0.5238 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.3202, allocations: 11.12 kB / 0.5238 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.3204, allocations: 204.7 kB / 0.524 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3205, allocations: 5.5 kB / 0.524 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.3205, allocations: 7.906 kB / 0.524 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.3207, allocations: 73.47 kB / 0.5241 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3207, allocations: 0.6562 kB / 0.5241 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3207, allocations: 5 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3207, allocations: 1.188 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.3208, allocations: 17.91 kB / 0.5241 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.3211, allocations: 284 kB / 0.5244 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3213, allocations: 64.34 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.3214, allocations: 20.22 kB / 0.5245 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3214, allocations: 1.281 kB / 0.5245 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.3216, allocations: 70.23 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.947e-06/0.3216, allocations: 0 / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00056/0.3222, allocations: 175.6 kB / 0.5247 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.3223, allocations: 78.14 kB / 0.5248 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3224, allocations: 156.3 kB / 0.5249 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3224, allocations: 30.3 kB / 0.5249 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.3225, allocations: 92.72 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.3225, allocations: 32.31 kB / 0.5251 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.3226, allocations: 24.11 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3227, allocations: 324.6 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.3228, allocations: 22.36 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.3229, allocations: 41.42 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.323, allocations: 61.17 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.323, allocations: 1.062 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002062/0.3232, allocations: 95.91 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3233, allocations: 9.938 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3233, allocations: 2.031 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3233, allocations: 0 / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3234, allocations: 23.27 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.3234, allocations: 1.469 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.3235, allocations: 3.125 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3235, allocations: 7.188 kB / 0.5257 GB, free: 15.04 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.0001119/0.3236, allocations: 117.6 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.3236, allocations: 17.89 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.3237, allocations: 17.3 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3237, allocations: 0.7031 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3237, allocations: 1.062 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.3238, allocations: 84.73 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.3238, allocations: 5.297 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.456e-05/0.3239, allocations: 11.81 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.3239, allocations: 4.562 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002433/0.3242, allocations: 178.7 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002665/0.3245, allocations: 275.6 kB / 0.5263 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.152e-05/0.3245, allocations: 25.33 kB / 0.5264 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3247, allocations: 116 kB / 0.5265 GB, free: 14.32 MB / 398.1 MB Notification: Performance of Backend: time 3.8e-07/0.3247, allocations: 0 / 0.5265 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.3262, allocations: 0.5156 MB / 0.527 GB, free: 14.11 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006239/0.3269, allocations: 0.6387 MB / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Templates: time 0.004942/0.3318, allocations: 2.023 MB / 0.5296 GB, free: 12.78 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches