Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 113.9 kB / 18.46 MB, free: 4.609 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.001018/0.001018, allocations: 186.1 kB / 19.39 MB, free: 3.688 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.324/1.324, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2055/0.2055, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3352, allocations: 60.82 MB / 0.5196 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002735/0.338, allocations: 1.665 MB / 0.5213 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3392, allocations: 0.85 MB / 0.5221 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.3393, allocations: 8.969 kB / 0.5221 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.3397, allocations: 56.81 kB / 0.5222 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.3399, allocations: 65.8 kB / 0.5222 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3402, allocations: 107.5 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.3404, allocations: 100.1 kB / 0.5224 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.3404, allocations: 5.188 kB / 0.5224 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.3405, allocations: 51.31 kB / 0.5225 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.3406, allocations: 43.7 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3406, allocations: 3.031 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-05/0.3407, allocations: 37.7 kB / 0.5226 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.3408, allocations: 18.56 kB / 0.5226 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.3409, allocations: 28 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.341, allocations: 103.5 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3411, allocations: 1.156 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3411, allocations: 0 / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.3411, allocations: 0 / 0.5227 GB, free: 1.621 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.0004713/0.3416, allocations: 397.9 kB / 0.5231 GB, free: 1.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3416, allocations: 9.484 kB / 0.5231 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.3417, allocations: 9.406 kB / 0.5231 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.3419, allocations: 205.6 kB / 0.5233 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3419, allocations: 5.625 kB / 0.5233 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3419, allocations: 6 kB / 0.5233 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.342, allocations: 50.61 kB / 0.5234 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3421, allocations: 0 / 0.5234 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.3421, allocations: 1.891 kB / 0.5234 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3421, allocations: 4 kB / 0.5234 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.3422, allocations: 19.77 kB / 0.5234 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.3423, allocations: 182.6 kB / 0.5236 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3424, allocations: 52.7 kB / 0.5236 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.3425, allocations: 23.25 kB / 0.5236 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3425, allocations: 5.031 kB / 0.5236 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.3427, allocations: 72.73 kB / 0.5237 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3427, allocations: 0 / 0.5237 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002544/0.3429, allocations: 96.59 kB / 0.5238 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.343, allocations: 53.2 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.3431, allocations: 189 kB / 0.524 GB, free: 388 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.3431, allocations: 27.11 kB / 0.5241 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.3432, allocations: 103.4 kB / 0.5242 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.3432, allocations: 15.5 kB / 0.5242 GB, free: 244 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.3433, allocations: 19.55 kB / 0.5242 GB, free: 224 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.3434, allocations: 322.9 kB / 0.5245 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.3434, allocations: 13.44 kB / 0.5245 GB, free: 15.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.3435, allocations: 26.55 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3436, allocations: 50.44 kB / 0.5246 GB, free: 15.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3436, allocations: 0 / 0.5246 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001569/0.3438, allocations: 83.23 kB / 0.5247 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3438, allocations: 6.969 kB / 0.5247 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3438, allocations: 480 / 0.5247 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3438, allocations: 1.031 kB / 0.5247 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.3439, allocations: 18.39 kB / 0.5247 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.3439, allocations: 5.578 kB / 0.5247 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.344, allocations: 8.266 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.344, allocations: 5.812 kB / 0.5247 GB, free: 15.77 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.586e-05/0.3441, allocations: 121.1 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.3441, allocations: 12.84 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.3442, allocations: 14.17 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3442, allocations: 0 / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3442, allocations: 1.562 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3442, allocations: 83.8 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3443, allocations: 1.891 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.3443, allocations: 2.25 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.3443, allocations: 8.281 kB / 0.5249 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001863/0.3445, allocations: 163.8 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002137/0.3448, allocations: 255.5 kB / 0.5253 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.657e-05/0.3448, allocations: 17.06 kB / 0.5254 GB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.345, allocations: 142.5 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of Backend: time 2.51e-07/0.345, allocations: 0 / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.3463, allocations: 437.4 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006137/0.3469, allocations: 0.6451 MB / 0.5265 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Templates: time 0.004265/0.3512, allocations: 1.504 MB / 0.528 GB, free: 13.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches