Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001353, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 216.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, 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.2133/0.2133, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 79.88 kB / 482.1 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2988, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003212/0.302, allocations: 1.741 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.3038, allocations: 1.019 MB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.304, allocations: 0 / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.3043, allocations: 43.36 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.3047, allocations: 99.44 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.3049, allocations: 74.92 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.3051, allocations: 105.1 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.3053, allocations: 11.58 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3054, allocations: 43.97 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.3055, allocations: 33.42 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3055, allocations: 8.125 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.3056, allocations: 39.48 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.3057, allocations: 22.78 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.3057, allocations: 39.92 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.3059, allocations: 118.1 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.306, allocations: 1.375 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.306, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.306, allocations: 0 / 0.535 GB, free: 11.07 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.0005817/0.3066, allocations: 415 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.3066, allocations: 9.625 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.3067, allocations: 12.97 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.307, allocations: 217.3 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.307, allocations: 1.75 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.307, allocations: 10.81 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3071, allocations: 54.05 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3072, allocations: 3.906 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3072, allocations: 1.375 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3072, allocations: 0 / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3073, allocations: 26.92 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.3077, allocations: 290.8 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3079, allocations: 61.84 kB / 0.5361 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.3079, allocations: 25.09 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.308, allocations: 1.375 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.3081, allocations: 69.14 kB / 0.5362 GB, free: 9.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3081, allocations: 0 / 0.5362 GB, free: 9.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005208/0.3087, allocations: 174 kB / 0.5364 GB, free: 9.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.3088, allocations: 52.5 kB / 0.5364 GB, free: 9.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.3089, allocations: 197.4 kB / 0.5366 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.309, allocations: 26.7 kB / 0.5366 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.309, allocations: 104.5 kB / 0.5367 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.3091, allocations: 28.58 kB / 0.5367 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.3092, allocations: 24.23 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3093, allocations: 330 kB / 0.5371 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.3093, allocations: 18.75 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.3094, allocations: 34.95 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.3095, allocations: 63.39 kB / 0.5372 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3095, allocations: 0.9688 kB / 0.5372 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/0.3097, allocations: 102.8 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3097, allocations: 6.094 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3098, allocations: 3.984 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3098, allocations: 4.969 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.377e-05/0.3099, allocations: 13.41 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3099, allocations: 1.25 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.31, allocations: 6.25 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.31, allocations: 6.125 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 0.0001301/0.3101, allocations: 131.8 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.3102, allocations: 8.531 kB / 0.5375 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.3102, allocations: 18.98 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3102, allocations: 1.25 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3102, allocations: 0 / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3102, allocations: 5.062 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.3107, allocations: 402 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3107, allocations: 1.25 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.3107, allocations: 10.67 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3107, allocations: 1.438 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3107, allocations: 6.188 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3107, allocations: 5.438 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3107, allocations: 0 / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.311, allocations: 204.5 kB / 0.5381 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.3111, allocations: 87.95 kB / 0.5382 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.3111, allocations: 13.86 kB / 0.5382 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.3112, allocations: 5.969 kB / 0.5382 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.3113, allocations: 3.969 kB / 0.5382 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3113, allocations: 7.578 kB / 0.5382 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3114, allocations: 148.5 kB / 0.5383 GB, free: 7.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3114, allocations: 0 / 0.5383 GB, free: 7.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.3117, allocations: 28.8 kB / 0.5384 GB, free: 7.934 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.001055/0.3127, allocations: 454.4 kB / 0.5388 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.3129, allocations: 65.67 kB / 0.5389 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.313, allocations: 4.062 kB / 0.5389 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.89e-05/0.313, allocations: 30.75 kB / 0.5389 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3134, allocations: 30.47 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.0004685/0.3139, allocations: 260.1 kB / 0.5392 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3142, allocations: 0.7018 MB / 0.5399 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.3142, allocations: 18.84 kB / 0.5399 GB, free: 6.715 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3142, allocations: 1.156 kB / 0.5399 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Templates: time 0.004035/0.3182, allocations: 1.959 MB / 0.5418 GB, free: 5.703 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches