Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 113 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.001451/0.001451, allocations: 210.8 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.397/1.397, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 76.33 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.303, allocations: 62.44 MB / 0.5318 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003359/0.3064, allocations: 1.75 MB / 0.5335 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3082, allocations: 1.027 MB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3083, allocations: 1.375 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.3086, allocations: 96.73 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.3091, allocations: 116.8 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3093, allocations: 80.3 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.3096, allocations: 120 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3097, allocations: 10.81 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3098, allocations: 68.5 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.31, allocations: 59.44 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.31, allocations: 8.062 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3101, allocations: 63.05 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.3102, allocations: 29.12 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.3103, allocations: 41.8 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.3105, allocations: 137.8 kB / 0.5353 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3106, allocations: 1.406 kB / 0.5353 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3106, allocations: 0 / 0.5353 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3106, allocations: 3.938 kB / 0.5353 GB, free: 10.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005564/0.3111, allocations: 440.3 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3112, allocations: 8.844 kB / 0.5357 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.3112, allocations: 15.84 kB / 0.5357 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.3116, allocations: 223.6 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3116, allocations: 1.688 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3116, allocations: 11.22 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3118, allocations: 55.8 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3118, allocations: 5.094 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3118, allocations: 0 / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3118, allocations: 5.078 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.014e-05/0.3119, allocations: 20.58 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.3123, allocations: 314.1 kB / 0.5363 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.3126, allocations: 57.52 kB / 0.5364 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.329e-05/0.3126, allocations: 21.89 kB / 0.5364 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3127, allocations: 1.25 kB / 0.5364 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.3128, allocations: 74.56 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3128, allocations: 0 / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008082/0.3136, allocations: 255.6 kB / 0.5367 GB, free: 9.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.3137, allocations: 56.5 kB / 0.5368 GB, free: 9.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.314, allocations: 244.6 kB / 0.537 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.314, allocations: 26.89 kB / 0.537 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.3141, allocations: 111 kB / 0.5371 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.3141, allocations: 28.66 kB / 0.5372 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3142, allocations: 29.73 kB / 0.5372 GB, free: 9.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3143, allocations: 327.9 kB / 0.5375 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.3144, allocations: 26.83 kB / 0.5375 GB, free: 8.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.3145, allocations: 51.17 kB / 0.5376 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3146, allocations: 79.86 kB / 0.5376 GB, free: 8.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3146, allocations: 1.219 kB / 0.5376 GB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002364/0.3149, allocations: 129.8 kB / 0.5378 GB, free: 8.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3149, allocations: 7.594 kB / 0.5378 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3149, allocations: 1.188 kB / 0.5378 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3149, allocations: 0.9375 kB / 0.5378 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.315, allocations: 29.52 kB / 0.5378 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.315, allocations: 8.812 kB / 0.5378 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.508e-05/0.3151, allocations: 2.312 kB / 0.5378 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.3151, allocations: 3.094 kB / 0.5378 GB, free: 8.656 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 (13): * Single equations (assignments): 13 * 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.0001114/0.3152, allocations: 134.9 kB / 0.538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.3153, allocations: 14.69 kB / 0.538 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.3153, allocations: 24.45 kB / 0.538 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3153, allocations: 1.156 kB / 0.538 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.3154, allocations: 9 kB / 0.538 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3154, allocations: 4 kB / 0.538 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.3159, allocations: 462.5 kB / 0.5384 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3159, allocations: 1.125 kB / 0.5384 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.316, allocations: 15.97 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.316, allocations: 1.594 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.316, allocations: 2.656 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.316, allocations: 5.141 kB / 0.5385 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.316, allocations: 5.406 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.3163, allocations: 229.4 kB / 0.5387 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.3164, allocations: 93.8 kB / 0.5388 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.3164, allocations: 6.578 kB / 0.5388 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.3165, allocations: 1.344 kB / 0.5388 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.3165, allocations: 16.89 kB / 0.5388 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3166, allocations: 4.781 kB / 0.5388 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.3167, allocations: 169 kB / 0.539 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3167, allocations: 0 / 0.539 GB, free: 7.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.317, allocations: 33.3 kB / 0.539 GB, free: 7.609 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001219/0.3183, allocations: 0.4961 MB / 0.5395 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.3185, allocations: 80.78 kB / 0.5396 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3185, allocations: 1.312 kB / 0.5396 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.3186, allocations: 42.89 kB / 0.5396 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.319, allocations: 43.36 kB / 0.5396 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.3195, allocations: 316.7 kB / 0.54 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3198, allocations: 0.7175 MB / 0.5407 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.3199, allocations: 20.84 kB / 0.5407 GB, free: 6.301 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3199, allocations: 0 / 0.5407 GB, free: 6.301 MB / 398.1 MB Notification: Performance of Templates: time 0.004884/0.3248, allocations: 2.278 MB / 0.5429 GB, free: 5.121 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches