Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001811, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002108/0.002108, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2478/0.2478, allocations: 46.12 MB / 344.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 87.78 kB / 481 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4018, allocations: 62.43 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003616/0.4055, allocations: 1.929 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.4077, allocations: 1.126 MB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.4078, allocations: 5.156 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.4083, allocations: 246.2 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004802/0.4088, allocations: 242.8 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.4091, allocations: 120.5 kB / 0.5343 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.4094, allocations: 266.9 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.4096, allocations: 28.8 kB / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.4098, allocations: 139.9 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.41, allocations: 187.3 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.4101, allocations: 7.969 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.4102, allocations: 63.83 kB / 0.5349 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.4103, allocations: 63.36 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.4104, allocations: 100.6 kB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.4109, allocations: 258.6 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4109, allocations: 0 / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4109, allocations: 1.062 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.4109, allocations: 0 / 0.5354 GB, free: 9.969 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.000873/0.4118, allocations: 0.5933 MB / 0.5359 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4118, allocations: 9.281 kB / 0.5359 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.4119, allocations: 36.94 kB / 0.536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.4119, allocations: 35.7 kB / 0.536 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.4124, allocations: 300 kB / 0.5363 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4124, allocations: 7 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.4125, allocations: 9.344 kB / 0.5363 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.4127, allocations: 110.9 kB / 0.5364 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4128, allocations: 8.891 kB / 0.5364 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4128, allocations: 1.219 kB / 0.5364 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.4128, allocations: 2.469 kB / 0.5364 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.4129, allocations: 44.25 kB / 0.5365 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.4136, allocations: 494.6 kB / 0.5369 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.4139, allocations: 121.8 kB / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4141, allocations: 45.42 kB / 0.5371 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.4141, allocations: 2.062 kB / 0.5371 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.4143, allocations: 128.3 kB / 0.5372 GB, free: 8.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.4144, allocations: 0 / 0.5372 GB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001419/0.4158, allocations: 0.5105 MB / 0.5377 GB, free: 7.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.4159, allocations: 83.52 kB / 0.5378 GB, free: 7.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/0.4164, allocations: 0.4928 MB / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.4164, allocations: 32.08 kB / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.4166, allocations: 172.8 kB / 0.5385 GB, free: 7.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.4167, allocations: 70.66 kB / 0.5385 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.4168, allocations: 45.33 kB / 0.5386 GB, free: 7.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4169, allocations: 349.3 kB / 0.5389 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4171, allocations: 61.62 kB / 0.539 GB, free: 6.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.4172, allocations: 95.81 kB / 0.5391 GB, free: 6.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.4175, allocations: 160.5 kB / 0.5392 GB, free: 6.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4175, allocations: 1.344 kB / 0.5392 GB, free: 6.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003936/0.4179, allocations: 239.2 kB / 0.5395 GB, free: 6.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.418, allocations: 5.469 kB / 0.5395 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.418, allocations: 1.125 kB / 0.5395 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.418, allocations: 6.125 kB / 0.5395 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.4182, allocations: 46.69 kB / 0.5395 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.4182, allocations: 9.562 kB / 0.5395 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.472e-05/0.4183, allocations: 7.875 kB / 0.5395 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.4183, allocations: 7.812 kB / 0.5395 GB, free: 6.59 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.0001749/0.4185, allocations: 176.7 kB / 0.5397 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.4185, allocations: 39.64 kB / 0.5397 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-05/0.4186, allocations: 45.42 kB / 0.5398 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.4187, allocations: 2.688 kB / 0.5398 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4187, allocations: 1.094 kB / 0.5398 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.4187, allocations: 5.156 kB / 0.5398 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.4197, allocations: 0.7347 MB / 0.5405 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4197, allocations: 1.281 kB / 0.5405 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-05/0.4198, allocations: 32.61 kB / 0.5405 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4198, allocations: 2.719 kB / 0.5405 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.4198, allocations: 12 kB / 0.5406 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4199, allocations: 1.719 kB / 0.5406 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4199, allocations: 6.906 kB / 0.5406 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.4205, allocations: 428.3 kB / 0.541 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.4206, allocations: 105.2 kB / 0.5411 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.4207, allocations: 7.719 kB / 0.5411 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.4208, allocations: 12.39 kB / 0.5411 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.4209, allocations: 21.64 kB / 0.5411 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.4209, allocations: 19.91 kB / 0.5411 GB, free: 5.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005128/0.4215, allocations: 373.6 kB / 0.5415 GB, free: 5.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4215, allocations: 4 kB / 0.5415 GB, free: 5.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003994/0.4219, allocations: 45.19 kB / 0.5415 GB, free: 5.051 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.002883/0.4248, allocations: 1.368 MB / 0.5429 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.4252, allocations: 158 kB / 0.543 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4252, allocations: 1.125 kB / 0.543 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.4254, allocations: 83.73 kB / 0.5431 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.4261, allocations: 65.34 kB / 0.5432 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.4305, allocations: 3.015 MB / 0.5461 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.431, allocations: 0.7831 MB / 0.5469 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.4311, allocations: 45.91 kB / 0.5469 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.4313, allocations: 103.4 kB / 0.547 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4313, allocations: 0 / 0.547 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.4607, allocations: 6.646 MB / 0.5535 GB, free: 9.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.512, allocations: 11.31 kB / 0.5535 GB, free: 9.977 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches