Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 121.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001847/0.001847, allocations: 199.9 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.9 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.2327/0.2327, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 71.89 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4113, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003236/0.4146, allocations: 1.834 MB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.4165, allocations: 1.09 MB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.214e-05/0.4166, allocations: 1.375 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.4171, allocations: 300.4 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.4176, allocations: 262.5 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.4179, allocations: 105.9 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.4182, allocations: 258.4 kB / 0.5348 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.466e-05/0.4182, allocations: 18.66 kB / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.4184, allocations: 128.7 kB / 0.5349 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.4187, allocations: 204.6 kB / 0.5351 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.4187, allocations: 6.406 kB / 0.5351 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.4188, allocations: 51.73 kB / 0.5352 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.419, allocations: 141.6 kB / 0.5353 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.4192, allocations: 147.2 kB / 0.5355 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.4196, allocations: 378 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4196, allocations: 0 / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4196, allocations: 0 / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.4196, allocations: 0 / 0.5358 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.001047/0.4207, allocations: 0.7453 MB / 0.5365 GB, free: 9.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4207, allocations: 9.5 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.144e-05/0.4208, allocations: 54.47 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.4214, allocations: 456.5 kB / 0.537 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4215, allocations: 6.578 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.4215, allocations: 6.125 kB / 0.5371 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.4217, allocations: 84.72 kB / 0.5371 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4217, allocations: 4 kB / 0.5371 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4218, allocations: 5.172 kB / 0.5371 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4218, allocations: 1.125 kB / 0.5371 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.4219, allocations: 27.52 kB / 0.5372 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.4223, allocations: 378.6 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.4226, allocations: 113.7 kB / 0.5376 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.4227, allocations: 41.36 kB / 0.5377 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.4227, allocations: 1.344 kB / 0.5377 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.423, allocations: 116.1 kB / 0.5378 GB, free: 8.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.423, allocations: 0 / 0.5378 GB, free: 8.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005049/0.4235, allocations: 200.7 kB / 0.538 GB, free: 8.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.4236, allocations: 83.23 kB / 0.5381 GB, free: 8.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4249, allocations: 1.048 MB / 0.5391 GB, free: 7.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4249, allocations: 27.11 kB / 0.5391 GB, free: 7.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.4252, allocations: 238.7 kB / 0.5393 GB, free: 7.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.4252, allocations: 36.05 kB / 0.5394 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.4253, allocations: 31.11 kB / 0.5394 GB, free: 7.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4255, allocations: 366.5 kB / 0.5398 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.4256, allocations: 26.45 kB / 0.5398 GB, free: 7.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.4257, allocations: 55.86 kB / 0.5398 GB, free: 7.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.4259, allocations: 97.81 kB / 0.5399 GB, free: 7.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4259, allocations: 0 / 0.5399 GB, free: 7.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003105/0.4262, allocations: 171.2 kB / 0.5401 GB, free: 6.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4262, allocations: 5.531 kB / 0.5401 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4262, allocations: 1.094 kB / 0.5401 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.4262, allocations: 5.141 kB / 0.5401 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4264, allocations: 26.53 kB / 0.5401 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4264, allocations: 1.219 kB / 0.5401 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.874e-05/0.4265, allocations: 8.391 kB / 0.5401 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.4265, allocations: 8.375 kB / 0.5401 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.000247/0.4268, allocations: 230.7 kB / 0.5404 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.4268, allocations: 50.59 kB / 0.5404 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.12e-05/0.4269, allocations: 58.27 kB / 0.5405 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4269, allocations: 2.562 kB / 0.5405 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.427, allocations: 0 / 0.5405 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.427, allocations: 4.906 kB / 0.5405 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.4273, allocations: 354.9 kB / 0.5408 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4273, allocations: 0 / 0.5408 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.4274, allocations: 10.98 kB / 0.5408 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4274, allocations: 1.156 kB / 0.5408 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4274, allocations: 1.25 kB / 0.5408 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4274, allocations: 5 kB / 0.5408 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4274, allocations: 1.062 kB / 0.5408 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.4277, allocations: 208.8 kB / 0.541 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.4279, allocations: 139.2 kB / 0.5412 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.4279, allocations: 5.109 kB / 0.5412 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.428, allocations: 3.594 kB / 0.5412 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.4281, allocations: 20.73 kB / 0.5412 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4281, allocations: 3.562 kB / 0.5412 GB, free: 6.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008259/0.4289, allocations: 0.781 MB / 0.542 GB, free: 5.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4289, allocations: 5.125 kB / 0.542 GB, free: 5.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.4292, allocations: 48.27 kB / 0.542 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.0009619/0.4302, allocations: 415 kB / 0.5424 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.4304, allocations: 78.56 kB / 0.5425 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4304, allocations: 0 / 0.5425 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.4305, allocations: 39.95 kB / 0.5425 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.0004727/0.431, allocations: 89.44 kB / 0.5426 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.4322, allocations: 0.8741 MB / 0.5435 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.4326, allocations: 0.8503 MB / 0.5443 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.4328, allocations: 62.94 kB / 0.5443 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.4328, allocations: 27.42 kB / 0.5444 GB, free: 3.781 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4328, allocations: 4 kB / 0.5444 GB, free: 3.777 MB / 398.1 MB Notification: Performance of Templates: time 0.007835/0.4407, allocations: 3.786 MB / 0.5481 GB, free: 4 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches