Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 212.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2483/0.2483, allocations: 46.93 MB / 360.8 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 79.88 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4093, allocations: 66.09 MB / 0.5608 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003475/0.4128, allocations: 1.671 MB / 0.5624 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.414, allocations: 0.581 MB / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.4141, allocations: 0 / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.4144, allocations: 91.73 kB / 0.563 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.4147, allocations: 111.6 kB / 0.5632 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.415, allocations: 127 kB / 0.5633 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.4152, allocations: 99.75 kB / 0.5634 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.4153, allocations: 25.8 kB / 0.5634 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.4154, allocations: 43.84 kB / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.4155, allocations: 67.8 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.4155, allocations: 4 kB / 0.5635 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.4156, allocations: 47.92 kB / 0.5635 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.4157, allocations: 31.84 kB / 0.5636 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.4158, allocations: 47.67 kB / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.416, allocations: 135.4 kB / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.416, allocations: 0 / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.416, allocations: 0 / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.416, allocations: 0 / 0.5638 GB, free: 1.234 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000551/0.4166, allocations: 361.4 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4166, allocations: 8.031 kB / 0.5641 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/0.4166, allocations: 42.69 kB / 0.5641 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.4167, allocations: 12.84 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.4169, allocations: 158.3 kB / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4169, allocations: 8.375 kB / 0.5643 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.4169, allocations: 8.375 kB / 0.5643 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.4171, allocations: 70.22 kB / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.4171, allocations: 11.89 kB / 0.5644 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4172, allocations: 0 / 0.5644 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4172, allocations: 0 / 0.5644 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.4173, allocations: 47.89 kB / 0.5644 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/0.4178, allocations: 311.8 kB / 0.5647 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.418, allocations: 66.48 kB / 0.5648 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.4181, allocations: 28.84 kB / 0.5648 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.4181, allocations: 0 / 0.5648 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4181, allocations: 30.56 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.4181, allocations: 0 / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001122/0.4192, allocations: 345.9 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4193, allocations: 59.34 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.4195, allocations: 239.5 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.4196, allocations: 33.64 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.4196, allocations: 112.1 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.4197, allocations: 51.52 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.4197, allocations: 25.72 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4199, allocations: 326.8 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.42, allocations: 43.97 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.4201, allocations: 51.09 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.4203, allocations: 108.8 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4203, allocations: 0 / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002902/0.4206, allocations: 157.5 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4206, allocations: 4 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4206, allocations: 0 / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4206, allocations: 0 / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4208, allocations: 35.86 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4208, allocations: 3.984 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.4208, allocations: 8 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4208, allocations: 4 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001266/0.4209, allocations: 139.1 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.421, allocations: 15.91 kB / 0.5666 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.4214, allocations: 187 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4214, allocations: 7.938 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4214, allocations: 4 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4214, allocations: 0 / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.4221, allocations: 474.2 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4221, allocations: 0 / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-05/0.4222, allocations: 31.92 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4222, allocations: 0 / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4222, allocations: 4 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4222, allocations: 8.031 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4222, allocations: 0 / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.4226, allocations: 258.2 kB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.4226, allocations: 19.89 kB / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.4226, allocations: 0 / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.4227, allocations: 8 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.4227, allocations: 15.98 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.4228, allocations: 4 kB / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.4229, allocations: 181.2 kB / 0.5677 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4229, allocations: 0 / 0.5677 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00027/0.4232, allocations: 31.88 kB / 0.5677 GB, free: 12.87 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002548/0.4258, allocations: 1.139 MB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003477/0.4261, allocations: 111.4 kB / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4261, allocations: 0 / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.4262, allocations: 59.89 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.4267, allocations: 19.75 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.4294, allocations: 1.927 MB / 0.5709 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4298, allocations: 0.7241 MB / 0.5716 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.483e-05/0.4299, allocations: 28.47 kB / 0.5716 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.902e-05/0.43, allocations: 47.42 kB / 0.5717 GB, free: 8.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.43, allocations: 0 / 0.5717 GB, free: 8.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.4627, allocations: 3.801 MB / 0.5754 GB, free: 5.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.44, allocations: 14.34 kB / 0.5754 GB, free: 5.062 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.579346229089424]