Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 105.9 kB / 18.45 MB, free: 4.625 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.001179/0.00118, allocations: 185.9 kB / 19.38 MB, free: 3.703 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.361/1.361, 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.2069/0.2069, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 71.88 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3233, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002507/0.3258, allocations: 1.665 MB / 0.5213 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.327, allocations: 0.8539 MB / 0.5221 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.3271, allocations: 1.375 kB / 0.5221 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.3274, allocations: 60.89 kB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.3277, allocations: 73.86 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.3279, allocations: 99.33 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.3281, allocations: 95.14 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.3282, allocations: 10.11 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.3282, allocations: 50.47 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.3283, allocations: 47.12 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3284, allocations: 4.125 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.593e-05/0.3284, allocations: 34.64 kB / 0.5226 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.3285, allocations: 18.14 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.3286, allocations: 23.56 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.3287, allocations: 104.1 kB / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3287, allocations: 0 / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3288, allocations: 1.031 kB / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.3288, allocations: 4 kB / 0.5227 GB, free: 1.602 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003952/0.3292, allocations: 402.1 kB / 0.5231 GB, free: 1.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3292, allocations: 8.062 kB / 0.5231 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.3293, allocations: 11.08 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3295, allocations: 205 kB / 0.5233 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3295, allocations: 1.75 kB / 0.5233 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.3295, allocations: 5.938 kB / 0.5233 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.3296, allocations: 50.41 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3297, allocations: 12.95 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3297, allocations: 0 / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3297, allocations: 5.031 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.3297, allocations: 19.03 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.3299, allocations: 175.2 kB / 0.5236 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.33, allocations: 54.09 kB / 0.5236 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.3301, allocations: 26.16 kB / 0.5236 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.3301, allocations: 1.75 kB / 0.5236 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.3302, allocations: 67.77 kB / 0.5237 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.3303, allocations: 1.094 kB / 0.5237 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002549/0.3305, allocations: 95.97 kB / 0.5238 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.3305, allocations: 52.16 kB / 0.5238 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3307, allocations: 190.4 kB / 0.524 GB, free: 368 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.3307, allocations: 25.7 kB / 0.524 GB, free: 336 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.3307, allocations: 105 kB / 0.5241 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3308, allocations: 10.08 kB / 0.5242 GB, free: 228 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.3308, allocations: 21.05 kB / 0.5242 GB, free: 208 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.3309, allocations: 321.4 kB / 0.5245 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/0.3309, allocations: 13.64 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.331, allocations: 34.86 kB / 0.5245 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.3311, allocations: 46.86 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3311, allocations: 0 / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001509/0.3313, allocations: 87.19 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3313, allocations: 5.594 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3313, allocations: 2.828 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3313, allocations: 0 / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.3314, allocations: 14.31 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3314, allocations: 5.719 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.3315, allocations: 3.016 kB / 0.5247 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.3315, allocations: 1.938 kB / 0.5247 GB, free: 15.76 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 (7): * Single equations (assignments): 7 * 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.264e-05/0.3316, allocations: 127.7 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.3316, allocations: 13.23 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.3316, allocations: 10.81 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3316, allocations: 0.6562 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3316, allocations: 0 / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.3317, allocations: 85.62 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.3317, allocations: 9.797 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.3318, allocations: 2.422 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.3318, allocations: 7.266 kB / 0.5249 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001863/0.332, allocations: 161 kB / 0.5251 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002192/0.3322, allocations: 250.3 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.463e-05/0.3323, allocations: 20.28 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.3324, allocations: 151.7 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Backend: time 1.91e-07/0.3324, allocations: 0 / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.3336, allocations: 426.9 kB / 0.5259 GB, free: 14.87 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005714/0.3342, allocations: 0.6459 MB / 0.5265 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.004152/0.3384, allocations: 1.509 MB / 0.528 GB, free: 13.85 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches