Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 115.7 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 213.9 kB / 19.4 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 83.86 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3106, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003307/0.3139, allocations: 1.731 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3158, allocations: 1.026 MB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.3159, allocations: 0 / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.3162, allocations: 38.28 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.3166, allocations: 90.47 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.3169, allocations: 80.02 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.3171, allocations: 101 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3172, allocations: 11.03 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3173, allocations: 55.58 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.326e-05/0.3174, allocations: 30.39 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.3175, allocations: 3.906 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3176, allocations: 39.77 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.3177, allocations: 22.66 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.3177, allocations: 35.17 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.3179, allocations: 125.4 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3179, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.318, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.318, allocations: 3.938 kB / 0.535 GB, free: 11.04 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.000601/0.3186, allocations: 406.1 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3186, allocations: 13.14 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.3187, allocations: 14.56 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.3189, allocations: 210.8 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.319, allocations: 2.062 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.319, allocations: 10.12 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3191, allocations: 50.61 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3192, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.3192, allocations: 8.969 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3192, allocations: 5.094 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.3193, allocations: 18.8 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.3197, allocations: 281.9 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.3199, allocations: 65.84 kB / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.3199, allocations: 25.05 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.32, allocations: 5.312 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3201, allocations: 65.14 kB / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3201, allocations: 0 / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005376/0.3207, allocations: 174.1 kB / 0.5363 GB, free: 9.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.3208, allocations: 52.78 kB / 0.5364 GB, free: 9.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.321, allocations: 189.7 kB / 0.5366 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.321, allocations: 25.7 kB / 0.5366 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.3211, allocations: 105.5 kB / 0.5367 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.3211, allocations: 27.48 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.3212, allocations: 27.86 kB / 0.5367 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3213, allocations: 325.9 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.3213, allocations: 18.94 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.3214, allocations: 40.39 kB / 0.5371 GB, free: 9.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.3215, allocations: 58.52 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3215, allocations: 0 / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000214/0.3218, allocations: 99.59 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3218, allocations: 7.688 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3218, allocations: 5.109 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3218, allocations: 1.125 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.322, allocations: 12.12 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.322, allocations: 5.531 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.322, allocations: 6.094 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.322, allocations: 3.25 kB / 0.5373 GB, free: 8.895 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.155e-05/0.3221, allocations: 125.4 kB / 0.5374 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3222, allocations: 18.19 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.3222, allocations: 17.77 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3222, allocations: 1.125 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3222, allocations: 3.938 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3222, allocations: 5 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.3227, allocations: 393.3 kB / 0.5378 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3227, allocations: 1.031 kB / 0.5378 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.3228, allocations: 15.52 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3228, allocations: 1.281 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.3228, allocations: 9.031 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.3228, allocations: 1.156 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3228, allocations: 0 / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.3231, allocations: 201.6 kB / 0.5381 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.3231, allocations: 87.67 kB / 0.5381 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3232, allocations: 9.156 kB / 0.5381 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.3232, allocations: 10.61 kB / 0.5382 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.3233, allocations: 6.656 kB / 0.5382 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3233, allocations: 3.375 kB / 0.5382 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.3235, allocations: 143.9 kB / 0.5383 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3235, allocations: 0 / 0.5383 GB, free: 7.934 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.3238, allocations: 24.84 kB / 0.5383 GB, free: 7.926 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.001063/0.3249, allocations: 456.1 kB / 0.5388 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.325, allocations: 62.25 kB / 0.5388 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3251, allocations: 0 / 0.5388 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.3251, allocations: 29.52 kB / 0.5389 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3255, allocations: 21.61 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.326, allocations: 249 kB / 0.5391 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3262, allocations: 0.7052 MB / 0.5398 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.3263, allocations: 15.56 kB / 0.5398 GB, free: 6.711 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3263, allocations: 0 / 0.5398 GB, free: 6.711 MB / 398.1 MB Notification: Performance of Templates: time 0.004199/0.3305, allocations: 1.936 MB / 0.5417 GB, free: 5.715 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches