Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, allocations: 107.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 75.88 kB / 482.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3138, allocations: 62.44 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003218/0.3171, allocations: 1.732 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.3197, allocations: 1.621 MB / 0.535 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.128e-05/0.3198, allocations: 1.25 kB / 0.535 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.3202, allocations: 37.25 kB / 0.5351 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.3206, allocations: 100.3 kB / 0.5351 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.3209, allocations: 83.5 kB / 0.5352 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.3211, allocations: 101.9 kB / 0.5353 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3212, allocations: 18.86 kB / 0.5353 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3213, allocations: 45.66 kB / 0.5354 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3215, allocations: 49.45 kB / 0.5354 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3215, allocations: 5.5 kB / 0.5354 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.3217, allocations: 111 kB / 0.5355 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.3218, allocations: 16.05 kB / 0.5356 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.3219, allocations: 37.38 kB / 0.5356 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.3222, allocations: 164.7 kB / 0.5358 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3223, allocations: 4 kB / 0.5358 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3223, allocations: 0 / 0.5358 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3223, allocations: 0 / 0.5358 GB, free: 10.72 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.0005991/0.3229, allocations: 434.5 kB / 0.5362 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3229, allocations: 9.438 kB / 0.5362 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.323, allocations: 10 kB / 0.5362 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.3233, allocations: 214.5 kB / 0.5364 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3233, allocations: 5.344 kB / 0.5364 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.3234, allocations: 6.406 kB / 0.5364 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3235, allocations: 74.59 kB / 0.5365 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3236, allocations: 0 / 0.5365 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3236, allocations: 0.9062 kB / 0.5365 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3236, allocations: 1.094 kB / 0.5365 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.3237, allocations: 17.77 kB / 0.5365 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.3241, allocations: 290.2 kB / 0.5368 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3243, allocations: 61.8 kB / 0.5368 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.3243, allocations: 17.64 kB / 0.5368 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3244, allocations: 1.094 kB / 0.5368 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.3245, allocations: 69.17 kB / 0.5369 GB, free: 9.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.3245, allocations: 4 kB / 0.5369 GB, free: 9.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005667/0.3251, allocations: 169.5 kB / 0.5371 GB, free: 9.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.3252, allocations: 86.14 kB / 0.5372 GB, free: 9.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.3254, allocations: 171.4 kB / 0.5373 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3254, allocations: 26.77 kB / 0.5374 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.3255, allocations: 103.7 kB / 0.5375 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3255, allocations: 23.38 kB / 0.5375 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.3256, allocations: 25.52 kB / 0.5375 GB, free: 9.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3257, allocations: 325.7 kB / 0.5378 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.3258, allocations: 23.03 kB / 0.5378 GB, free: 8.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.3259, allocations: 40.72 kB / 0.5379 GB, free: 8.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.326, allocations: 63.3 kB / 0.5379 GB, free: 8.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.326, allocations: 0 / 0.5379 GB, free: 8.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002092/0.3262, allocations: 103.5 kB / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3263, allocations: 5.844 kB / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3263, allocations: 0 / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3263, allocations: 1.156 kB / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.3264, allocations: 17.88 kB / 0.5381 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3264, allocations: 3.938 kB / 0.5381 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.3265, allocations: 11.23 kB / 0.5381 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3265, allocations: 2.875 kB / 0.5381 GB, free: 8.508 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.381e-05/0.3266, allocations: 120.2 kB / 0.5382 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.3266, allocations: 12.44 kB / 0.5382 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.3267, allocations: 16.7 kB / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3267, allocations: 0.8125 kB / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3267, allocations: 4.938 kB / 0.5382 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3267, allocations: 0 / 0.5382 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.3272, allocations: 392 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3272, allocations: 1.25 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.3273, allocations: 11.19 kB / 0.5386 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3273, allocations: 5.031 kB / 0.5386 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3273, allocations: 6.234 kB / 0.5386 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3273, allocations: 5.219 kB / 0.5386 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3273, allocations: 0 / 0.5386 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.3276, allocations: 204.4 kB / 0.5388 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.3276, allocations: 88.05 kB / 0.5389 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.3276, allocations: 6.094 kB / 0.5389 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.3277, allocations: 5.734 kB / 0.5389 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3278, allocations: 11.19 kB / 0.5389 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.3278, allocations: 3.688 kB / 0.5389 GB, free: 7.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.328, allocations: 124.7 kB / 0.539 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.328, allocations: 3.938 kB / 0.539 GB, free: 7.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000319/0.3283, allocations: 46.3 kB / 0.5391 GB, free: 7.555 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.001274/0.3296, allocations: 0.5389 MB / 0.5396 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3298, allocations: 58.52 kB / 0.5397 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3298, allocations: 0 / 0.5397 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.3299, allocations: 33.39 kB / 0.5397 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3302, allocations: 33.7 kB / 0.5397 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.3307, allocations: 230 kB / 0.54 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.331, allocations: 0.6986 MB / 0.5406 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.331, allocations: 18.19 kB / 0.5407 GB, free: 6.301 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.331, allocations: 3.938 kB / 0.5407 GB, free: 6.297 MB / 398.1 MB Notification: Performance of Templates: time 0.00493/0.336, allocations: 2.422 MB / 0.543 GB, free: 5.043 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches