Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001427/0.001427, 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.001453/0.001453, allocations: 213.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.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 8 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.2534/0.2534, allocations: 46.94 MB / 360.8 MB, free: 4.195 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 79.86 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3934, allocations: 66.08 MB / 0.5607 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003657/0.397, allocations: 1.613 MB / 0.5623 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3982, allocations: 0.5615 MB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.3983, allocations: 4 kB / 0.5629 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.3985, allocations: 19.8 kB / 0.5629 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.3988, allocations: 79.67 kB / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.3992, allocations: 111.7 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3994, allocations: 71.77 kB / 0.5631 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3995, allocations: 5.828 kB / 0.5632 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.3996, allocations: 23.91 kB / 0.5632 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.3997, allocations: 27.86 kB / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3997, allocations: 8 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.936e-05/0.3998, allocations: 31.98 kB / 0.5632 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.3999, allocations: 15.88 kB / 0.5633 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.3999, allocations: 23.8 kB / 0.5633 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.4001, allocations: 79.66 kB / 0.5634 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4001, allocations: 0 / 0.5634 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4001, allocations: 0 / 0.5634 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.4002, allocations: 0 / 0.5634 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.0005742/0.4007, allocations: 313.9 kB / 0.5637 GB, free: 1.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.4008, allocations: 8.031 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.485e-05/0.4009, allocations: 34.75 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.4009, allocations: 8.891 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.4011, allocations: 140.7 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4011, allocations: 4.359 kB / 0.5638 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.4012, allocations: 4.312 kB / 0.5638 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.4013, allocations: 54.23 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4014, allocations: 3.938 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4014, allocations: 0 / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4014, allocations: 0 / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.4015, allocations: 27.98 kB / 0.5639 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.4019, allocations: 255.9 kB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.4021, allocations: 46.5 kB / 0.5642 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.4022, allocations: 16.94 kB / 0.5642 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4022, allocations: 3.938 kB / 0.5642 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.4023, allocations: 34.56 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4023, allocations: 0 / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006292/0.4029, allocations: 153.4 kB / 0.5644 GB, free: 440 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4029, allocations: 51.41 kB / 0.5645 GB, free: 376 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.4031, allocations: 148.9 kB / 0.5646 GB, free: 216 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.4031, allocations: 29.7 kB / 0.5646 GB, free: 180 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.4032, allocations: 100.1 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.4032, allocations: 19.86 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.4033, allocations: 17.7 kB / 0.5648 GB, free: 32 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4035, allocations: 318.8 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-05/0.4035, allocations: 23.97 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.4036, allocations: 28.11 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.4038, allocations: 56.83 kB / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4038, allocations: 0 / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002054/0.404, allocations: 89.61 kB / 0.5653 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.404, allocations: 4 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.404, allocations: 0 / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.404, allocations: 0 / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.4041, allocations: 15.98 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4041, allocations: 4 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.4041, allocations: 4 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.4041, allocations: 0 / 0.5653 GB, free: 15.48 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.0001219/0.4043, allocations: 123 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.4043, allocations: 11.94 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.4046, allocations: 94.06 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4046, allocations: 3.938 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4046, allocations: 4 kB / 0.5655 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4046, allocations: 0 / 0.5655 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.4051, allocations: 341.5 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4051, allocations: 0 / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.4052, allocations: 11.98 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4052, allocations: 0 / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4052, allocations: 192 / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.4052, allocations: 8 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4052, allocations: 3.938 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.4055, allocations: 183.4 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.4055, allocations: 7.953 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.4055, allocations: 4 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.4056, allocations: 8.266 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.4056, allocations: 3.938 kB / 0.5661 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4056, allocations: 4 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.4057, allocations: 127.2 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4057, allocations: 0 / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.406, allocations: 15.92 kB / 0.5662 GB, free: 14.45 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.00203/0.408, allocations: 1.008 MB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.4082, allocations: 55.89 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4082, allocations: 4 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.996e-05/0.4083, allocations: 23.98 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.4087, allocations: 19.86 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.4106, allocations: 1.465 MB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.411, allocations: 0.6963 MB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.43e-05/0.4111, allocations: 19.83 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.4112, allocations: 23.42 kB / 0.5694 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4112, allocations: 0 / 0.5694 GB, free: 11.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.4425, allocations: 2.727 MB / 0.5721 GB, free: 8.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 11.92 kB / 0.5721 GB, free: 8.441 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.632551363902166]