Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 109.9 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.001164/0.001164, allocations: 182 kB / 19.39 MB, free: 3.691 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.308/1.308, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2006/0.2006, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.89 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3048, allocations: 60.82 MB / 0.5197 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002562/0.3074, allocations: 1.735 MB / 0.5214 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3085, allocations: 0.8724 MB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.3086, allocations: 1.156 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.3089, allocations: 84.73 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.3091, allocations: 78.33 kB / 0.5224 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.3094, allocations: 121.7 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3096, allocations: 110.8 kB / 0.5226 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.715e-05/0.3097, allocations: 21.53 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.3098, allocations: 57.39 kB / 0.5227 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.3099, allocations: 67.58 kB / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3099, allocations: 4.031 kB / 0.5227 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.31, allocations: 59.39 kB / 0.5228 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.3101, allocations: 29.66 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.3101, allocations: 34.67 kB / 0.5229 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.3103, allocations: 137.4 kB / 0.523 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3103, allocations: 0 / 0.523 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3103, allocations: 0 / 0.523 GB, free: 1.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.3104, allocations: 0 / 0.523 GB, free: 1.492 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.0004152/0.3108, allocations: 439.6 kB / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3108, allocations: 7.969 kB / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.3109, allocations: 14.42 kB / 0.5234 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3111, allocations: 224.8 kB / 0.5236 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.3111, allocations: 2.5 kB / 0.5236 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.3111, allocations: 8.281 kB / 0.5237 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.3113, allocations: 60.67 kB / 0.5237 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3113, allocations: 1.25 kB / 0.5237 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3113, allocations: 0.7031 kB / 0.5237 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3113, allocations: 1.094 kB / 0.5237 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.3114, allocations: 20.84 kB / 0.5237 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.3117, allocations: 313.3 kB / 0.524 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3119, allocations: 59.84 kB / 0.5241 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.312, allocations: 21.62 kB / 0.5241 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.312, allocations: 2.172 kB / 0.5241 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.3121, allocations: 75.38 kB / 0.5242 GB, free: 372 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3121, allocations: 0 / 0.5242 GB, free: 372 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006789/0.3128, allocations: 253.6 kB / 0.5244 GB, free: 248 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.723e-05/0.3129, allocations: 57.62 kB / 0.5245 GB, free: 180 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.313, allocations: 222.5 kB / 0.5247 GB, free: 36 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.3131, allocations: 27.64 kB / 0.5247 GB, free: 4 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.3131, allocations: 105.3 kB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.3132, allocations: 44.8 kB / 0.5249 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.3132, allocations: 24.44 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3133, allocations: 327.7 kB / 0.5252 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.3134, allocations: 26.09 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-05/0.3135, allocations: 45.78 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.3136, allocations: 87.47 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3137, allocations: 0 / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002086/0.3139, allocations: 137 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3139, allocations: 5.406 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3139, allocations: 0.8438 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3139, allocations: 1.781 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.314, allocations: 20.81 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.314, allocations: 7.922 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.3141, allocations: 8.906 kB / 0.5255 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.3141, allocations: 7.625 kB / 0.5255 GB, free: 15.35 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 0.0001054/0.3142, allocations: 132.9 kB / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.3142, allocations: 11.45 kB / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.3143, allocations: 17.98 kB / 0.5257 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3143, allocations: 0.6562 kB / 0.5257 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3143, allocations: 1.344 kB / 0.5257 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.3143, allocations: 92.69 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3144, allocations: 6.594 kB / 0.5258 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.3144, allocations: 2.516 kB / 0.5258 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.3145, allocations: 11.03 kB / 0.5258 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002596/0.3147, allocations: 198 kB / 0.526 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002836/0.315, allocations: 307.5 kB / 0.5263 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.985e-05/0.3151, allocations: 36.78 kB / 0.5263 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.3153, allocations: 174.4 kB / 0.5265 GB, free: 14.59 MB / 398.1 MB Notification: Performance of Backend: time 1.9e-07/0.3153, allocations: 0 / 0.5265 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.3167, allocations: 0.5524 MB / 0.527 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007341/0.3175, allocations: 0.695 MB / 0.5277 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Templates: time 0.004618/0.3221, allocations: 2.05 MB / 0.5297 GB, free: 12.96 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches