Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 114.3 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.001308/0.001308, allocations: 210 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.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 79.86 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3218, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003017/0.3248, allocations: 1.735 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3265, allocations: 1.022 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.745e-05/0.3266, allocations: 5.062 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.327, allocations: 37.77 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.3273, allocations: 95.75 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.3275, allocations: 79.67 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.3277, allocations: 105 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3278, allocations: 10.41 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3279, allocations: 48.89 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.328, allocations: 28.86 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3281, allocations: 4.469 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3282, allocations: 39.95 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.3282, allocations: 26.81 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.3283, allocations: 35.64 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3285, allocations: 125.8 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3285, allocations: 1.219 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3285, allocations: 0 / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3285, allocations: 0 / 0.535 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.0005707/0.3291, allocations: 415.5 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3291, allocations: 9.625 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.3292, allocations: 8.969 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3295, allocations: 217.2 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3295, allocations: 9.75 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3295, allocations: 6.875 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3297, allocations: 54.05 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3297, allocations: 3.906 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3297, allocations: 1.375 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3297, allocations: 0 / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.3298, allocations: 18.98 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.3302, allocations: 290.8 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.3304, allocations: 61.92 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.3304, allocations: 21.09 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3305, allocations: 5.312 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.3306, allocations: 65.14 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.048e-05/0.3306, allocations: 0 / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005285/0.3312, allocations: 174.5 kB / 0.5363 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3312, allocations: 56.77 kB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.3314, allocations: 200.3 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3315, allocations: 26.77 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.3315, allocations: 105.5 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.3316, allocations: 22.92 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.3316, allocations: 25.34 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3318, allocations: 330 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.3318, allocations: 27.17 kB / 0.5371 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.3319, allocations: 35.48 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.332, allocations: 54.95 kB / 0.5372 GB, free: 8.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.332, allocations: 0 / 0.5372 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001836/0.3322, allocations: 103.6 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3322, allocations: 9 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3323, allocations: 1.219 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3323, allocations: 1.375 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3324, allocations: 24.52 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3324, allocations: 1.281 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.3325, allocations: 6.625 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.3325, allocations: 6.562 kB / 0.5373 GB, free: 8.859 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 9.033e-05/0.3326, allocations: 122.5 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.3326, allocations: 9.656 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.3327, allocations: 22.27 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3327, allocations: 1.094 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3327, allocations: 1.625 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3327, allocations: 3.938 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.3332, allocations: 398.2 kB / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3332, allocations: 0 / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.3332, allocations: 12.33 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3332, allocations: 1.125 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3333, allocations: 13.03 kB / 0.5379 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3333, allocations: 1.094 kB / 0.5379 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3333, allocations: 1.469 kB / 0.5379 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.3335, allocations: 200.7 kB / 0.5381 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.3336, allocations: 91.14 kB / 0.5382 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.3336, allocations: 10.25 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.3337, allocations: 10.36 kB / 0.5382 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.3338, allocations: 3.594 kB / 0.5382 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3338, allocations: 3.312 kB / 0.5382 GB, free: 8.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.3339, allocations: 152.2 kB / 0.5383 GB, free: 7.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3339, allocations: 0 / 0.5383 GB, free: 7.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.3342, allocations: 28.64 kB / 0.5384 GB, free: 7.891 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.001105/0.3353, allocations: 463.9 kB / 0.5388 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3355, allocations: 50.42 kB / 0.5389 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3355, allocations: 0 / 0.5389 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.3356, allocations: 32.86 kB / 0.5389 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3359, allocations: 33.69 kB / 0.5389 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.3364, allocations: 255.1 kB / 0.5392 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3367, allocations: 0.7064 MB / 0.5399 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.3368, allocations: 19.59 kB / 0.5399 GB, free: 6.672 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3368, allocations: 0 / 0.5399 GB, free: 6.672 MB / 398.1 MB Notification: Performance of Templates: time 0.004/0.3408, allocations: 1.96 MB / 0.5418 GB, free: 5.664 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches