Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 105.1 kB / 18.45 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001328, allocations: 210.8 kB / 19.41 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.11 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 79.88 kB / 482.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3091, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002852/0.312, allocations: 1.75 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.3136, allocations: 1.018 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.3137, allocations: 3.938 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.314, allocations: 34.83 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.3143, allocations: 97.66 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.3145, allocations: 80.28 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.3147, allocations: 104.6 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.3148, allocations: 10.59 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.3149, allocations: 48.02 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.69e-05/0.315, allocations: 34.67 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.315, allocations: 3.625 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3151, allocations: 39.61 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.3152, allocations: 25.97 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.3153, allocations: 32.41 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.3155, allocations: 116.1 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3155, allocations: 0.9375 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3155, allocations: 0 / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3155, allocations: 0 / 0.535 GB, free: 11.06 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.0005376/0.316, allocations: 410 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3161, allocations: 10.22 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.3161, allocations: 13.19 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.3164, allocations: 219.5 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3164, allocations: 1.5 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3165, allocations: 6.344 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3166, allocations: 58.03 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3166, allocations: 1.125 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3167, allocations: 4 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.3167, allocations: 1.25 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.3167, allocations: 18.05 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.3171, allocations: 282.6 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.3173, allocations: 66.02 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.3174, allocations: 25.41 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3174, allocations: 1.125 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.3175, allocations: 68.86 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.3176, allocations: 0 / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005153/0.3181, allocations: 174 kB / 0.5363 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.3181, allocations: 56.41 kB / 0.5364 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3183, allocations: 182.4 kB / 0.5366 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3183, allocations: 31.08 kB / 0.5366 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.3184, allocations: 108.1 kB / 0.5367 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.3184, allocations: 31.75 kB / 0.5367 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.3185, allocations: 20.59 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3186, allocations: 325.5 kB / 0.5371 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.3186, allocations: 22.98 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.3187, allocations: 39.45 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3188, allocations: 55.16 kB / 0.5372 GB, free: 8.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3188, allocations: 0 / 0.5372 GB, free: 8.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.319, allocations: 99.64 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.319, allocations: 5.219 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3191, allocations: 1.344 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3191, allocations: 1.25 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.3192, allocations: 20.55 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3192, allocations: 9.406 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.3192, allocations: 9.281 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3192, allocations: 4.375 kB / 0.5373 GB, free: 8.906 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 8.913e-05/0.3193, allocations: 121.3 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.3194, allocations: 13.09 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.3194, allocations: 13.56 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3194, allocations: 1.188 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3194, allocations: 1.219 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3194, allocations: 7.938 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.3199, allocations: 393 kB / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3199, allocations: 0.9688 kB / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.3199, allocations: 7.5 kB / 0.5379 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3199, allocations: 1.156 kB / 0.5379 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.32, allocations: 13.91 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.32, allocations: 1.062 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.32, allocations: 0 / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.3202, allocations: 200.2 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.3203, allocations: 96.28 kB / 0.5381 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3203, allocations: 6.156 kB / 0.5382 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.3204, allocations: 6.094 kB / 0.5382 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.3204, allocations: 7.297 kB / 0.5382 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3204, allocations: 7.219 kB / 0.5382 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3206, allocations: 139.3 kB / 0.5383 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3206, allocations: 1.094 kB / 0.5383 GB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.3209, allocations: 27.73 kB / 0.5383 GB, free: 7.949 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.001015/0.3219, allocations: 455 kB / 0.5388 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.3221, allocations: 70.98 kB / 0.5388 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3221, allocations: 0 / 0.5388 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.3222, allocations: 24.69 kB / 0.5389 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3225, allocations: 33.75 kB / 0.5389 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.323, allocations: 237 kB / 0.5391 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3232, allocations: 0.7055 MB / 0.5398 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.3233, allocations: 23.55 kB / 0.5398 GB, free: 6.727 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3233, allocations: 0 / 0.5398 GB, free: 6.727 MB / 398.1 MB Notification: Performance of Templates: time 0.003615/0.3269, allocations: 1.932 MB / 0.5417 GB, free: 5.734 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches