Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001453/0.001453, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001757/0.001757, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, 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.2144/0.2144, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 83.81 kB / 482.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3072, allocations: 62.44 MB / 0.5318 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003267/0.3105, allocations: 1.753 MB / 0.5335 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3123, allocations: 1.023 MB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3124, allocations: 5.531 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.3128, allocations: 93.08 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.3132, allocations: 121.2 kB / 0.5347 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.3136, allocations: 78.92 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.3138, allocations: 115.9 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3139, allocations: 16.23 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.314, allocations: 59.12 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3142, allocations: 68.75 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3142, allocations: 8.125 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3143, allocations: 54.48 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3145, allocations: 29.48 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.3145, allocations: 45.34 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3148, allocations: 142.2 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3148, allocations: 3.938 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3148, allocations: 1.375 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3148, allocations: 0 / 0.5353 GB, free: 10.95 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.0005874/0.3154, allocations: 432.4 kB / 0.5357 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3154, allocations: 12.25 kB / 0.5357 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.3155, allocations: 15.7 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.3158, allocations: 223.8 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3158, allocations: 1.469 kB / 0.5359 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3159, allocations: 7.781 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.316, allocations: 60.45 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.316, allocations: 7.984 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3161, allocations: 1.125 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3161, allocations: 1.062 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-05/0.3162, allocations: 24.14 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.3166, allocations: 309.7 kB / 0.5363 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.3168, allocations: 61.5 kB / 0.5364 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.3169, allocations: 22.5 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3169, allocations: 1.188 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.3171, allocations: 71.02 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.3171, allocations: 3.938 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008088/0.3179, allocations: 255.2 kB / 0.5367 GB, free: 9.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.318, allocations: 56.47 kB / 0.5368 GB, free: 9.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.3182, allocations: 239.7 kB / 0.537 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3183, allocations: 26.86 kB / 0.537 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.3183, allocations: 118.9 kB / 0.5371 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.3184, allocations: 33.23 kB / 0.5372 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.3184, allocations: 29.58 kB / 0.5372 GB, free: 9.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3185, allocations: 323.5 kB / 0.5375 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.3186, allocations: 35.36 kB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.3187, allocations: 43.92 kB / 0.5376 GB, free: 8.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3189, allocations: 80.14 kB / 0.5377 GB, free: 8.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3189, allocations: 1.344 kB / 0.5377 GB, free: 8.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002631/0.3192, allocations: 125.8 kB / 0.5378 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3192, allocations: 9.016 kB / 0.5378 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3192, allocations: 1 kB / 0.5378 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3192, allocations: 1.219 kB / 0.5378 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.3193, allocations: 17.09 kB / 0.5378 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3193, allocations: 5.125 kB / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.3194, allocations: 10.08 kB / 0.5378 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3194, allocations: 11.22 kB / 0.5378 GB, free: 8.637 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.0001132/0.3195, allocations: 131 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.3195, allocations: 15.38 kB / 0.538 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.3196, allocations: 20.06 kB / 0.538 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3196, allocations: 1.312 kB / 0.538 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3196, allocations: 3.938 kB / 0.538 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3196, allocations: 1.312 kB / 0.538 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.3202, allocations: 461.8 kB / 0.5384 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3202, allocations: 1.188 kB / 0.5384 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.3203, allocations: 19.86 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3203, allocations: 1.188 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3203, allocations: 2.25 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3203, allocations: 2.406 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3203, allocations: 3.938 kB / 0.5385 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.3206, allocations: 234.7 kB / 0.5387 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.3206, allocations: 88.92 kB / 0.5388 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.3207, allocations: 6.5 kB / 0.5388 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.3208, allocations: 2.781 kB / 0.5388 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3208, allocations: 11.86 kB / 0.5388 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3208, allocations: 13.44 kB / 0.5388 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.321, allocations: 176.8 kB / 0.539 GB, free: 7.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.321, allocations: 0 / 0.539 GB, free: 7.605 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.3213, allocations: 29.58 kB / 0.539 GB, free: 7.598 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.0012/0.3225, allocations: 0.4982 MB / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.3228, allocations: 77.62 kB / 0.5396 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.3228, allocations: 1.125 kB / 0.5396 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.747e-05/0.3229, allocations: 43.36 kB / 0.5396 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.3233, allocations: 40.17 kB / 0.5396 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.3239, allocations: 318.1 kB / 0.5399 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3241, allocations: 0.7196 MB / 0.5406 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.3242, allocations: 21.16 kB / 0.5407 GB, free: 6.289 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3242, allocations: 0 / 0.5407 GB, free: 6.289 MB / 398.1 MB Notification: Performance of Templates: time 0.004875/0.3291, allocations: 2.275 MB / 0.5429 GB, free: 5.113 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches