Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 76.11 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4088, allocations: 62.44 MB / 0.5306 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003133/0.4119, allocations: 1.738 MB / 0.5323 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.4135, allocations: 1.017 MB / 0.5333 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.4136, allocations: 1.375 kB / 0.5333 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.4138, allocations: 37.39 kB / 0.5333 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.4141, allocations: 101.5 kB / 0.5334 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.4143, allocations: 79.8 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.4146, allocations: 96.31 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.4147, allocations: 14.47 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.4148, allocations: 40.3 kB / 0.5336 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.169e-05/0.4149, allocations: 34.02 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.4149, allocations: 4.281 kB / 0.5337 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.415, allocations: 52.28 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.4151, allocations: 16.55 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.4152, allocations: 36.36 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.4154, allocations: 109.6 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4154, allocations: 1.094 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4154, allocations: 0 / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.4155, allocations: 0 / 0.5339 GB, free: 10.74 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000568/0.416, allocations: 406.5 kB / 0.5343 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4161, allocations: 9.594 kB / 0.5343 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.4161, allocations: 40.08 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.4162, allocations: 10.03 kB / 0.5343 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.4165, allocations: 210.9 kB / 0.5345 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.4165, allocations: 1.375 kB / 0.5345 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.4165, allocations: 10.28 kB / 0.5345 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4167, allocations: 54.61 kB / 0.5346 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4167, allocations: 0 / 0.5346 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4167, allocations: 1.219 kB / 0.5346 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4167, allocations: 0 / 0.5346 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.4168, allocations: 27.33 kB / 0.5346 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.4172, allocations: 284.5 kB / 0.5349 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.4174, allocations: 58.39 kB / 0.5349 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.4175, allocations: 17.17 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.4175, allocations: 1.062 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.4177, allocations: 73.05 kB / 0.535 GB, free: 9.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4177, allocations: 0 / 0.535 GB, free: 9.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005259/0.4182, allocations: 182.3 kB / 0.5352 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.4183, allocations: 52.88 kB / 0.5353 GB, free: 9.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.4184, allocations: 171.8 kB / 0.5354 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4184, allocations: 27.08 kB / 0.5355 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.4185, allocations: 104.2 kB / 0.5355 GB, free: 9.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.4186, allocations: 23.83 kB / 0.5356 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.4186, allocations: 24.53 kB / 0.5356 GB, free: 9.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4188, allocations: 329.5 kB / 0.5359 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.4188, allocations: 22.92 kB / 0.5359 GB, free: 8.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.4189, allocations: 35.45 kB / 0.536 GB, free: 8.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.419, allocations: 59.84 kB / 0.536 GB, free: 8.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.419, allocations: 0 / 0.536 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.4192, allocations: 98.77 kB / 0.5361 GB, free: 8.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4192, allocations: 5.5 kB / 0.5361 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4192, allocations: 0 / 0.5361 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4193, allocations: 1.375 kB / 0.5361 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.4194, allocations: 17.73 kB / 0.5361 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.4194, allocations: 0 / 0.5361 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.4194, allocations: 10.69 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.4194, allocations: 6.781 kB / 0.5362 GB, free: 8.566 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 (10): * Single equations (assignments): 10 * 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 9.896e-05/0.4195, allocations: 128.6 kB / 0.5363 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.4196, allocations: 17.3 kB / 0.5363 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.4196, allocations: 13 kB / 0.5363 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4196, allocations: 1.375 kB / 0.5363 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4196, allocations: 0 / 0.5363 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4196, allocations: 5.312 kB / 0.5363 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.4201, allocations: 395.8 kB / 0.5367 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4201, allocations: 3.984 kB / 0.5367 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.4202, allocations: 8.5 kB / 0.5367 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4202, allocations: 5.094 kB / 0.5367 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4202, allocations: 5.156 kB / 0.5367 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4202, allocations: 1.375 kB / 0.5367 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4202, allocations: 1.188 kB / 0.5367 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.4205, allocations: 203.8 kB / 0.5369 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.4205, allocations: 87.22 kB / 0.537 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.4206, allocations: 14.03 kB / 0.537 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.4206, allocations: 2.094 kB / 0.537 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.4207, allocations: 7.266 kB / 0.537 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.4207, allocations: 3.125 kB / 0.537 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.4208, allocations: 129.2 kB / 0.5371 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4208, allocations: 5.031 kB / 0.5371 GB, free: 7.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.4211, allocations: 29.09 kB / 0.5372 GB, free: 7.609 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: 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 (8): * Single equations (assignments): 6 * 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.00151/0.4226, allocations: 1.079 MB / 0.5382 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.4228, allocations: 58.83 kB / 0.5383 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4228, allocations: 0 / 0.5383 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.4229, allocations: 29.2 kB / 0.5383 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.4233, allocations: 33.53 kB / 0.5383 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.4252, allocations: 1.609 MB / 0.5399 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.4255, allocations: 0.696 MB / 0.5406 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.97e-05/0.4256, allocations: 14.66 kB / 0.5406 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.4257, allocations: 34.45 kB / 0.5406 GB, free: 4.539 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4257, allocations: 1.188 kB / 0.5406 GB, free: 4.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.4475, allocations: 3.366 MB / 0.5439 GB, free: 2.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/8.031, allocations: 10.05 kB / 0.5439 GB, free: 2.703 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches