Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 111.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 75.88 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3245, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002821/0.3274, allocations: 1.742 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3291, allocations: 1.017 MB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.3292, allocations: 5 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.3295, allocations: 46.44 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.3298, allocations: 107 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.33, allocations: 78.98 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.3302, allocations: 108.7 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.3303, allocations: 10.58 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.3304, allocations: 44.53 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.108e-05/0.3305, allocations: 33.73 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.3305, allocations: 3.625 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3306, allocations: 44.73 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.3307, allocations: 30.86 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.3308, allocations: 44.56 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.331, allocations: 137.5 kB / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.331, allocations: 0 / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.331, allocations: 0 / 0.5351 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3311, allocations: 1.062 kB / 0.5351 GB, free: 11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000638/0.3317, allocations: 440.8 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3317, allocations: 9 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.3318, allocations: 19.67 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3321, allocations: 223.6 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3321, allocations: 10.41 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.3322, allocations: 6.188 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3323, allocations: 58.28 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3323, allocations: 0 / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3324, allocations: 0.9062 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3324, allocations: 5.062 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.3325, allocations: 18.83 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.3328, allocations: 299.2 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.333, allocations: 57.94 kB / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.3331, allocations: 21.09 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3331, allocations: 1.375 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.3333, allocations: 69.08 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3333, allocations: 4 kB / 0.5363 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005644/0.3339, allocations: 180.9 kB / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3339, allocations: 56.38 kB / 0.5365 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.3342, allocations: 271.5 kB / 0.5368 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3342, allocations: 30.89 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.3343, allocations: 111.6 kB / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.3343, allocations: 28.08 kB / 0.5369 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.3344, allocations: 20.16 kB / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3345, allocations: 339.4 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.3346, allocations: 14.88 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.3347, allocations: 39.48 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3348, allocations: 68.02 kB / 0.5374 GB, free: 8.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3348, allocations: 0 / 0.5374 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.335, allocations: 105.3 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.335, allocations: 8.828 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.335, allocations: 1.312 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.335, allocations: 0 / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.3351, allocations: 22.28 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3351, allocations: 0 / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.3352, allocations: 2.688 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3352, allocations: 10.61 kB / 0.5375 GB, free: 8.754 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.0001094/0.3353, allocations: 133 kB / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.3354, allocations: 19.28 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.3354, allocations: 17.47 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3354, allocations: 0 / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3354, allocations: 3.984 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.3355, allocations: 93.2 kB / 0.5378 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.3355, allocations: 4.969 kB / 0.5378 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.436e-05/0.3356, allocations: 1.438 kB / 0.5378 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.3356, allocations: 11.8 kB / 0.5378 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002139/0.3358, allocations: 180.4 kB / 0.538 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002515/0.3361, allocations: 279.5 kB / 0.5382 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.508e-05/0.3362, allocations: 29.5 kB / 0.5383 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.3364, allocations: 199.6 kB / 0.5385 GB, free: 7.957 MB / 398.1 MB Notification: Performance of Backend: time 2.51e-07/0.3364, allocations: 0 / 0.5385 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.3378, allocations: 498.5 kB / 0.5389 GB, free: 7.727 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008702/0.3387, allocations: 0.7069 MB / 0.5396 GB, free: 7.07 MB / 398.1 MB Notification: Performance of Templates: time 0.005136/0.3439, allocations: 1.858 MB / 0.5414 GB, free: 6.125 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches