Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 112.1 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.09 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 76.09 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3122, allocations: 62.43 MB / 0.5318 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003305/0.3156, allocations: 1.769 MB / 0.5335 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3173, allocations: 1.036 MB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3175, allocations: 1.375 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.3178, allocations: 106.4 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.3183, allocations: 124.9 kB / 0.5347 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.3185, allocations: 84.28 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.3188, allocations: 142.4 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3189, allocations: 15.81 kB / 0.535 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.319, allocations: 69.56 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3192, allocations: 74.52 kB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.3192, allocations: 5.75 kB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.3194, allocations: 59.2 kB / 0.5352 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.3194, allocations: 35.77 kB / 0.5352 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.3195, allocations: 55.5 kB / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.3199, allocations: 155.9 kB / 0.5354 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3199, allocations: 1.062 kB / 0.5354 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3199, allocations: 0 / 0.5354 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.3199, allocations: 0 / 0.5354 GB, free: 10.9 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006376/0.3205, allocations: 468.3 kB / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3206, allocations: 12.86 kB / 0.5359 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.3206, allocations: 15.78 kB / 0.5359 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.321, allocations: 235 kB / 0.5361 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.321, allocations: 2.656 kB / 0.5361 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.3211, allocations: 11.41 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3213, allocations: 70.12 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3213, allocations: 3.953 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3213, allocations: 5.109 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3213, allocations: 1.156 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.3214, allocations: 32.2 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.3219, allocations: 338.5 kB / 0.5365 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.3222, allocations: 82.98 kB / 0.5366 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.3222, allocations: 29.19 kB / 0.5366 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3223, allocations: 1.094 kB / 0.5366 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.3224, allocations: 81.66 kB / 0.5367 GB, free: 9.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3225, allocations: 1.531 kB / 0.5367 GB, free: 9.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009039/0.3234, allocations: 313.8 kB / 0.537 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.3234, allocations: 52.69 kB / 0.5371 GB, free: 9.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.3237, allocations: 258.6 kB / 0.5373 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3237, allocations: 27.98 kB / 0.5373 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.3238, allocations: 115.9 kB / 0.5375 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.3238, allocations: 50.09 kB / 0.5375 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.3239, allocations: 32.41 kB / 0.5375 GB, free: 8.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.324, allocations: 332.2 kB / 0.5379 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3241, allocations: 39.86 kB / 0.5379 GB, free: 8.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3242, allocations: 60.77 kB / 0.5379 GB, free: 8.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.3244, allocations: 95.03 kB / 0.538 GB, free: 8.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3245, allocations: 8.938 kB / 0.538 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002946/0.3248, allocations: 161.2 kB / 0.5382 GB, free: 8.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3248, allocations: 5.406 kB / 0.5382 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3248, allocations: 1.094 kB / 0.5382 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3248, allocations: 1.125 kB / 0.5382 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3249, allocations: 33.33 kB / 0.5382 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3249, allocations: 1.031 kB / 0.5382 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.325, allocations: 6.094 kB / 0.5382 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.325, allocations: 4.406 kB / 0.5382 GB, free: 8.43 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 (16): * Single equations (assignments): 16 * 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.0001375/0.3252, allocations: 146.4 kB / 0.5384 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.3252, allocations: 18.8 kB / 0.5384 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.526e-05/0.3253, allocations: 22.83 kB / 0.5384 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3253, allocations: 9.344 kB / 0.5384 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3253, allocations: 0 / 0.5384 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.3254, allocations: 92.45 kB / 0.5385 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.3254, allocations: 6.734 kB / 0.5385 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.3254, allocations: 4.969 kB / 0.5385 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.3255, allocations: 9.266 kB / 0.5385 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003548/0.3259, allocations: 228.7 kB / 0.5388 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003802/0.3263, allocations: 337.2 kB / 0.5391 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001021/0.3264, allocations: 48.28 kB / 0.5391 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.3266, allocations: 197 kB / 0.5393 GB, free: 7.559 MB / 398.1 MB Notification: Performance of Backend: time 8.41e-07/0.3266, allocations: 0 / 0.5393 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.3283, allocations: 0.5614 MB / 0.5399 GB, free: 7.293 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007784/0.3291, allocations: 0.7366 MB / 0.5406 GB, free: 6.609 MB / 398.1 MB Notification: Performance of Templates: time 0.005852/0.3349, allocations: 2.302 MB / 0.5428 GB, free: 5.457 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches