Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001745/0.001745, allocations: 110 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.002184/0.002184, allocations: 213.6 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.592/1.592, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2854/0.2854, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 75.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3954, allocations: 66.09 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.004658/0.4, allocations: 1.613 MB / 0.5623 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.4015, allocations: 0.5459 MB / 0.5629 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.4016, allocations: 0 / 0.5629 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.4019, allocations: 23.8 kB / 0.5629 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.4023, allocations: 79.67 kB / 0.563 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.4027, allocations: 90.95 kB / 0.563 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.4029, allocations: 75.77 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.403, allocations: 9.828 kB / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.4031, allocations: 19.92 kB / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.4032, allocations: 27.84 kB / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.4032, allocations: 4 kB / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.4033, allocations: 31.94 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.4034, allocations: 15.92 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.4034, allocations: 23.81 kB / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.4037, allocations: 83.64 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.4037, allocations: 0 / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4037, allocations: 0 / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.4037, allocations: 4 kB / 0.5633 GB, free: 1.656 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006858/0.4044, allocations: 301.9 kB / 0.5636 GB, free: 1.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.4045, allocations: 12.03 kB / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.4045, allocations: 34.73 kB / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.4046, allocations: 8.891 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.4048, allocations: 134.3 kB / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4048, allocations: 384 / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.4049, allocations: 8.375 kB / 0.5638 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.4051, allocations: 58.17 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.4051, allocations: 7.938 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4051, allocations: 0 / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4052, allocations: 0 / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.4053, allocations: 19.98 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.4058, allocations: 255.9 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.4061, allocations: 42.56 kB / 0.5642 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.4062, allocations: 12.95 kB / 0.5642 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.4062, allocations: 7.984 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.4063, allocations: 30.56 kB / 0.5642 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.4063, allocations: 0 / 0.5642 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007084/0.407, allocations: 141.4 kB / 0.5644 GB, free: 472 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.4071, allocations: 51.41 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.4072, allocations: 156.9 kB / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.4073, allocations: 25.7 kB / 0.5646 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.4074, allocations: 100 kB / 0.5647 GB, free: 104 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.4074, allocations: 19.84 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.4074, allocations: 17.72 kB / 0.5647 GB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.4076, allocations: 326.8 kB / 0.565 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.4077, allocations: 19.92 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.4078, allocations: 19.98 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.4079, allocations: 48.83 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4079, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001833/0.4081, allocations: 77.62 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4081, allocations: 6.344 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4081, allocations: 4 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4082, allocations: 0 / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.4082, allocations: 15.98 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4082, allocations: 3.938 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.4083, allocations: 4 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4083, allocations: 4 kB / 0.5652 GB, free: 15.52 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 (5): * Single equations (assignments): 5 * 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.0001323/0.4084, allocations: 123.1 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.4084, allocations: 7.953 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.4087, allocations: 90.31 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4087, allocations: 64 / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.4087, allocations: 7.938 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4087, allocations: 0 / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.4092, allocations: 317.5 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4092, allocations: 0 / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.4093, allocations: 15.98 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4093, allocations: 4 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4093, allocations: 0 / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4093, allocations: 0 / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.4093, allocations: 3.938 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.4096, allocations: 183.4 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.4096, allocations: 4.234 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.4096, allocations: 0 / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.4097, allocations: 15.98 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.4097, allocations: 7.938 kB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4097, allocations: 3.984 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.4098, allocations: 115.2 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4098, allocations: 0 / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.4101, allocations: 15.94 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002055/0.4121, allocations: 1.024 MB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.4123, allocations: 43.97 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4123, allocations: 0 / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.626e-05/0.4124, allocations: 19.98 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.4128, allocations: 31.02 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.4146, allocations: 1.43 MB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.415, allocations: 0.6924 MB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.674e-05/0.4151, allocations: 19.83 kB / 0.5693 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.4151, allocations: 19.44 kB / 0.5693 GB, free: 11.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4151, allocations: 0 / 0.5693 GB, free: 11.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.4445, allocations: 2.69 MB / 0.5719 GB, free: 8.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.54, allocations: 7.938 kB / 0.5719 GB, free: 8.598 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.829371458152309]