Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 110 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 209.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, 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.2289/0.2289, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 83.86 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3021, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002941/0.3051, allocations: 1.829 MB / 0.5335 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3069, allocations: 1.096 MB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.307, allocations: 5 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.3075, allocations: 303.8 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.308, allocations: 256.1 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.3082, allocations: 104.4 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.3085, allocations: 259 kB / 0.5355 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.3086, allocations: 21.88 kB / 0.5355 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.3088, allocations: 129.7 kB / 0.5356 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.3091, allocations: 191.3 kB / 0.5358 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.3091, allocations: 7.438 kB / 0.5358 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.3092, allocations: 50.19 kB / 0.5358 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.3094, allocations: 143.2 kB / 0.536 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3095, allocations: 151.4 kB / 0.5361 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.3099, allocations: 376.4 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3099, allocations: 0 / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3099, allocations: 0.8438 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3099, allocations: 0 / 0.5365 GB, free: 10.21 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.000931/0.3109, allocations: 0.741 MB / 0.5372 GB, free: 9.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3109, allocations: 14 kB / 0.5372 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.311, allocations: 50.03 kB / 0.5373 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.3116, allocations: 460.3 kB / 0.5377 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3116, allocations: 2.875 kB / 0.5377 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3116, allocations: 10.89 kB / 0.5377 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3118, allocations: 87.17 kB / 0.5378 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3119, allocations: 1.125 kB / 0.5378 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3119, allocations: 0 / 0.5378 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3119, allocations: 1.938 kB / 0.5378 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.312, allocations: 31.17 kB / 0.5378 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.3124, allocations: 382.2 kB / 0.5382 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.3127, allocations: 110.5 kB / 0.5383 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.3128, allocations: 40.95 kB / 0.5383 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3129, allocations: 2.031 kB / 0.5383 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.3131, allocations: 111.9 kB / 0.5385 GB, free: 8.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.3131, allocations: 0 / 0.5385 GB, free: 8.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005146/0.3136, allocations: 201.3 kB / 0.5386 GB, free: 8.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3137, allocations: 82.2 kB / 0.5387 GB, free: 8.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3148, allocations: 1.053 MB / 0.5398 GB, free: 7.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3149, allocations: 30.94 kB / 0.5398 GB, free: 7.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.315, allocations: 239.2 kB / 0.54 GB, free: 7.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.3151, allocations: 35.91 kB / 0.54 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.3151, allocations: 30.55 kB / 0.5401 GB, free: 7.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3153, allocations: 365.5 kB / 0.5404 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.3154, allocations: 27.52 kB / 0.5405 GB, free: 7.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.625e-05/0.3155, allocations: 58.72 kB / 0.5405 GB, free: 7.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.3157, allocations: 94.86 kB / 0.5406 GB, free: 7.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3157, allocations: 0 / 0.5406 GB, free: 7.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002937/0.316, allocations: 171.8 kB / 0.5408 GB, free: 6.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.316, allocations: 5.406 kB / 0.5408 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.316, allocations: 5.375 kB / 0.5408 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3161, allocations: 0.9062 kB / 0.5408 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.3162, allocations: 22.38 kB / 0.5408 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3162, allocations: 5.109 kB / 0.5408 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.674e-05/0.3163, allocations: 9.188 kB / 0.5408 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3163, allocations: 4 kB / 0.5408 GB, free: 6.922 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002144/0.3165, allocations: 230.2 kB / 0.541 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.3166, allocations: 50.19 kB / 0.5411 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.154e-05/0.3167, allocations: 59.67 kB / 0.5411 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3167, allocations: 4.875 kB / 0.5411 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3167, allocations: 1.031 kB / 0.5411 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3167, allocations: 1.062 kB / 0.5411 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.3171, allocations: 350.4 kB / 0.5415 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3171, allocations: 0 / 0.5415 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.3171, allocations: 11.27 kB / 0.5415 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3172, allocations: 1.156 kB / 0.5415 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3172, allocations: 5.094 kB / 0.5415 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3172, allocations: 1.188 kB / 0.5415 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3172, allocations: 1.062 kB / 0.5415 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3175, allocations: 208.2 kB / 0.5417 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3177, allocations: 143 kB / 0.5418 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.3177, allocations: 10.62 kB / 0.5418 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.3178, allocations: 2.344 kB / 0.5418 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.3178, allocations: 8.359 kB / 0.5418 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.3179, allocations: 13.59 kB / 0.5419 GB, free: 6.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008277/0.3187, allocations: 0.784 MB / 0.5426 GB, free: 5.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3187, allocations: 0 / 0.5426 GB, free: 5.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.319, allocations: 49.55 kB / 0.5427 GB, free: 5.703 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009331/0.3199, allocations: 408.7 kB / 0.5431 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.3202, allocations: 79.09 kB / 0.5431 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3202, allocations: 1.125 kB / 0.5431 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3203, allocations: 46.66 kB / 0.5432 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.3208, allocations: 72.25 kB / 0.5433 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.322, allocations: 0.913 MB / 0.5441 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.3224, allocations: 0.8542 MB / 0.545 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.3225, allocations: 31.42 kB / 0.545 GB, free: 3.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3225, allocations: 4 kB / 0.545 GB, free: 3.816 MB / 398.1 MB Notification: Performance of Templates: time 0.007483/0.33, allocations: 5.198 MB / 0.5501 GB, free: 14.62 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches