Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001188, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 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.2664/0.2664, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 76.09 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4041, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002918/0.407, allocations: 1.928 MB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4087, allocations: 1.128 MB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.4088, allocations: 1.312 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.4093, allocations: 246.3 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.4097, allocations: 238.8 kB / 0.5345 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.41, allocations: 115.8 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.4103, allocations: 272.2 kB / 0.5349 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.4104, allocations: 25.25 kB / 0.5349 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.4106, allocations: 143.8 kB / 0.5351 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.4108, allocations: 184 kB / 0.5352 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.4108, allocations: 7.844 kB / 0.5352 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.411, allocations: 67.2 kB / 0.5353 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.4111, allocations: 64.78 kB / 0.5354 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.665e-05/0.4112, allocations: 95.67 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.4115, allocations: 259.6 kB / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4115, allocations: 0 / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4115, allocations: 0 / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4115, allocations: 1.125 kB / 0.5357 GB, free: 10.23 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007514/0.4123, allocations: 0.5871 MB / 0.5363 GB, free: 9.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.4123, allocations: 8.812 kB / 0.5363 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.4124, allocations: 31.72 kB / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.4128, allocations: 298.5 kB / 0.5366 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4128, allocations: 12.27 kB / 0.5366 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.4128, allocations: 9.594 kB / 0.5366 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.4131, allocations: 110.6 kB / 0.5367 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4131, allocations: 7.906 kB / 0.5367 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.4131, allocations: 5.031 kB / 0.5367 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4131, allocations: 2.188 kB / 0.5367 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.4132, allocations: 49.55 kB / 0.5368 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.4138, allocations: 485.4 kB / 0.5373 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.4142, allocations: 130.2 kB / 0.5374 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.742e-05/0.4143, allocations: 41.52 kB / 0.5374 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4143, allocations: 2.344 kB / 0.5374 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.4145, allocations: 126.9 kB / 0.5375 GB, free: 8.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.4145, allocations: 0.9375 kB / 0.5375 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001284/0.4158, allocations: 0.4981 MB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.4159, allocations: 78.7 kB / 0.5381 GB, free: 8.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.4164, allocations: 0.4936 MB / 0.5386 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.4165, allocations: 31.98 kB / 0.5386 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.4166, allocations: 165.4 kB / 0.5388 GB, free: 7.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.4166, allocations: 76.59 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.4167, allocations: 42.58 kB / 0.5389 GB, free: 7.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4169, allocations: 352.9 kB / 0.5392 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.417, allocations: 58.03 kB / 0.5393 GB, free: 7.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.4172, allocations: 98.91 kB / 0.5394 GB, free: 7.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.4175, allocations: 161.9 kB / 0.5395 GB, free: 7.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4175, allocations: 0 / 0.5395 GB, free: 7.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003899/0.4179, allocations: 232.5 kB / 0.5398 GB, free: 6.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4179, allocations: 12.38 kB / 0.5398 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4179, allocations: 1.5 kB / 0.5398 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4179, allocations: 5.594 kB / 0.5398 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.4181, allocations: 46.16 kB / 0.5398 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4181, allocations: 2.688 kB / 0.5398 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.4182, allocations: 12.72 kB / 0.5398 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.4182, allocations: 6.062 kB / 0.5398 GB, free: 6.918 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001638/0.4184, allocations: 173 kB / 0.54 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.4184, allocations: 36.44 kB / 0.54 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.661e-05/0.4185, allocations: 49.34 kB / 0.5401 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4185, allocations: 2.469 kB / 0.5401 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4185, allocations: 1.094 kB / 0.5401 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4186, allocations: 3.938 kB / 0.5401 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009289/0.4195, allocations: 0.7439 MB / 0.5408 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.4195, allocations: 5.391 kB / 0.5408 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-05/0.4196, allocations: 23.56 kB / 0.5408 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4196, allocations: 2.062 kB / 0.5408 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.4196, allocations: 12.27 kB / 0.5409 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4196, allocations: 6.438 kB / 0.5409 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4196, allocations: 2.438 kB / 0.5409 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.4201, allocations: 425.2 kB / 0.5413 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.4202, allocations: 102.5 kB / 0.5414 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.4203, allocations: 7.406 kB / 0.5414 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.4204, allocations: 12.2 kB / 0.5414 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.4205, allocations: 25.58 kB / 0.5414 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.4205, allocations: 12.62 kB / 0.5414 GB, free: 5.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.4209, allocations: 377.5 kB / 0.5418 GB, free: 5.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4209, allocations: 0 / 0.5418 GB, free: 5.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.4212, allocations: 49.41 kB / 0.5418 GB, free: 5.383 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001281/0.4225, allocations: 0.504 MB / 0.5423 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.4229, allocations: 166.6 kB / 0.5425 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4229, allocations: 1.125 kB / 0.5425 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4231, allocations: 78.17 kB / 0.5426 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.4236, allocations: 65.38 kB / 0.5426 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.4247, allocations: 0.6009 MB / 0.5432 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.4251, allocations: 0.7877 MB / 0.544 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.4252, allocations: 36.05 kB / 0.544 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.4253, allocations: 35.17 kB / 0.544 GB, free: 3.816 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4253, allocations: 0 / 0.544 GB, free: 3.816 MB / 398.1 MB Notification: Performance of Templates: time 0.007606/0.4329, allocations: 3.259 MB / 0.5472 GB, free: 0.918 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches