Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001353/0.001353, allocations: 114 kB / 20.43 MB, free: 1.457 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.001446/0.001446, allocations: 213.2 kB / 23.74 MB, free: 4.672 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.564/1.564, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2411/0.2411, allocations: 46.92 MB / 360.8 MB, free: 4.172 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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 79.86 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3877, allocations: 66.08 MB / 0.5607 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003203/0.3909, allocations: 1.613 MB / 0.5623 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3921, allocations: 0.5732 MB / 0.5629 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.3921, allocations: 0 / 0.5629 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.3923, allocations: 23.84 kB / 0.5629 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.3926, allocations: 79.62 kB / 0.563 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.3929, allocations: 99.06 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.393, allocations: 79.77 kB / 0.5632 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.3931, allocations: 5.828 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.3932, allocations: 31.91 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.523e-05/0.3933, allocations: 31.84 kB / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3933, allocations: 8 kB / 0.5632 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.3935, allocations: 103.9 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.3935, allocations: 19.91 kB / 0.5633 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.3936, allocations: 23.81 kB / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.3939, allocations: 159.4 kB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3939, allocations: 0 / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3939, allocations: 0 / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3939, allocations: 0 / 0.5635 GB, free: 1.418 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.0005088/0.3944, allocations: 333.6 kB / 0.5638 GB, free: 1.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3944, allocations: 12.03 kB / 0.5638 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.3945, allocations: 38.75 kB / 0.5639 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.3945, allocations: 8.891 kB / 0.5639 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.3947, allocations: 136.5 kB / 0.564 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3947, allocations: 8.375 kB / 0.564 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.3947, allocations: 4.312 kB / 0.564 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3949, allocations: 67.95 kB / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3949, allocations: 3.938 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3949, allocations: 8 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3949, allocations: 3.938 kB / 0.5641 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.395, allocations: 27.97 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.3955, allocations: 275.9 kB / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3957, allocations: 62.48 kB / 0.5645 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.818e-05/0.3957, allocations: 24.97 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3957, allocations: 4 kB / 0.5645 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3958, allocations: 30.56 kB / 0.5645 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3958, allocations: 0 / 0.5645 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006724/0.3964, allocations: 189.3 kB / 0.5647 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.3965, allocations: 85.11 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.3967, allocations: 152.9 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3967, allocations: 25.7 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.3968, allocations: 100.1 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.3968, allocations: 31.77 kB / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.3969, allocations: 17.72 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.397, allocations: 330.7 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.3971, allocations: 31.98 kB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.3972, allocations: 49.69 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.3974, allocations: 68.81 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3974, allocations: 0 / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002383/0.3976, allocations: 117.7 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3976, allocations: 4 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3976, allocations: 4.125 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3977, allocations: 3.938 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3978, allocations: 19.98 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.3978, allocations: 0 / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.3978, allocations: 8 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3978, allocations: 11.92 kB / 0.5657 GB, free: 14.95 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 (9): * Single equations (assignments): 9 * 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.0001029/0.3979, allocations: 117.8 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.398, allocations: 7.953 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.3983, allocations: 122.4 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3983, allocations: 0 / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3983, allocations: 0 / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3983, allocations: 4 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.3988, allocations: 373.4 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3988, allocations: 0 / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.3989, allocations: 20.3 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3989, allocations: 4 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3989, allocations: 8 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.3989, allocations: 7.938 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3989, allocations: 0 / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.3992, allocations: 191.5 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.3992, allocations: 11.95 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.3992, allocations: 7.984 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.3993, allocations: 11.94 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.3993, allocations: 3.984 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.3993, allocations: 4 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.3994, allocations: 115.2 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3994, allocations: 4 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000292/0.3997, allocations: 39.88 kB / 0.5667 GB, free: 13.83 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 (8): * Single equations (assignments): 8 * 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.002287/0.402, allocations: 1.126 MB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.4023, allocations: 75.88 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4023, allocations: 0 / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.4023, allocations: 31.97 kB / 0.5679 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.4027, allocations: 37.81 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.4046, allocations: 1.55 MB / 0.5695 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.405, allocations: 0.6961 MB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.697e-05/0.4051, allocations: 28.55 kB / 0.5702 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.4052, allocations: 31.42 kB / 0.5702 GB, free: 10.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4052, allocations: 0 / 0.5702 GB, free: 10.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.436, allocations: 3.733 MB / 0.5739 GB, free: 6.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.47, allocations: 0 / 0.5739 GB, free: 6.562 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.6746017918922]