Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, 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.2219/0.2219, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 83.88 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3217, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003445/0.3252, allocations: 1.734 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3271, allocations: 1.023 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.3272, allocations: 9.312 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.3275, allocations: 49.64 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.3279, allocations: 97.84 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.3282, allocations: 80.28 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.3284, allocations: 104.9 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.3285, allocations: 10.88 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3287, allocations: 44.28 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.3287, allocations: 33.41 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.3288, allocations: 4.125 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.3289, allocations: 47.41 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.329, allocations: 28.3 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.3291, allocations: 41.25 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3293, allocations: 142.3 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3293, allocations: 0 / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3293, allocations: 0 / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3293, allocations: 0 / 0.5351 GB, free: 11.02 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.0006448/0.33, allocations: 459.8 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.33, allocations: 8.875 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.3301, allocations: 15.66 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.3304, allocations: 219.1 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3304, allocations: 6.469 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.3304, allocations: 10.12 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3306, allocations: 58.19 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3306, allocations: 0 / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3306, allocations: 5.047 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3307, allocations: 1.094 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.3308, allocations: 21.67 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.3312, allocations: 304.7 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.3314, allocations: 61.58 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.3314, allocations: 21.66 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.3315, allocations: 1.219 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.3316, allocations: 74.17 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.546e-06/0.3317, allocations: 0 / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005724/0.3323, allocations: 188.1 kB / 0.5365 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3323, allocations: 52.53 kB / 0.5365 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.3326, allocations: 281.8 kB / 0.5368 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3326, allocations: 25.7 kB / 0.5368 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.3327, allocations: 116.1 kB / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.3328, allocations: 24.27 kB / 0.537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.3328, allocations: 20.16 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3329, allocations: 339.7 kB / 0.5373 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-05/0.333, allocations: 23.52 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.3331, allocations: 31.59 kB / 0.5374 GB, free: 8.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3332, allocations: 63.19 kB / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3332, allocations: 0 / 0.5374 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002705/0.3335, allocations: 109.6 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3335, allocations: 9.625 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3335, allocations: 0 / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3335, allocations: 1.938 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.3336, allocations: 15.66 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3336, allocations: 1.5 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.3337, allocations: 10.86 kB / 0.5376 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.3337, allocations: 1.375 kB / 0.5376 GB, free: 8.762 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.0001063/0.3338, allocations: 134.5 kB / 0.5377 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.3338, allocations: 16.31 kB / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.3339, allocations: 29.67 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.3339, allocations: 1.219 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3339, allocations: 0 / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3339, allocations: 3.938 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.3344, allocations: 409.7 kB / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3344, allocations: 1.156 kB / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.3344, allocations: 7.594 kB / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3345, allocations: 0 / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.3345, allocations: 18.55 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.3345, allocations: 1.406 kB / 0.5381 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3345, allocations: 4.312 kB / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.3347, allocations: 206.9 kB / 0.5384 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.3348, allocations: 85.23 kB / 0.5384 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.3348, allocations: 9.125 kB / 0.5384 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.3349, allocations: 1.281 kB / 0.5384 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.335, allocations: 16.08 kB / 0.5385 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.335, allocations: 2.75 kB / 0.5385 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.3352, allocations: 217 kB / 0.5387 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3352, allocations: 0 / 0.5387 GB, free: 7.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000309/0.3355, allocations: 29.38 kB / 0.5387 GB, free: 7.754 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/0.3366, allocations: 470.7 kB / 0.5391 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.3368, allocations: 53.23 kB / 0.5392 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3369, allocations: 1.188 kB / 0.5392 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.3369, allocations: 32.94 kB / 0.5392 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3373, allocations: 32.34 kB / 0.5393 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.338, allocations: 331.3 kB / 0.5396 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.3383, allocations: 0.7245 MB / 0.5403 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.3383, allocations: 15.38 kB / 0.5403 GB, free: 6.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3383, allocations: 3.938 kB / 0.5403 GB, free: 6.484 MB / 398.1 MB Notification: Performance of Templates: time 0.004635/0.343, allocations: 2.139 MB / 0.5424 GB, free: 5.375 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches