Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001306/0.001306, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.002069/0.002069, allocations: 208 kB / 24.53 MB, free: 4.066 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.392/1.392, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2168/0.2168, allocations: 46.94 MB / 361.6 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] 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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 79.88 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2976, allocations: 66.09 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.00295/0.3005, allocations: 1.635 MB / 0.5631 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3015, allocations: 0.5537 MB / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.3016, allocations: 0 / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.3019, allocations: 119.7 kB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.3023, allocations: 135.5 kB / 0.5639 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.3025, allocations: 95.06 kB / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3027, allocations: 103.7 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3028, allocations: 12 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.3029, allocations: 47.88 kB / 0.5641 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3031, allocations: 95.7 kB / 0.5642 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.3031, allocations: 0 / 0.5642 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.3032, allocations: 43.98 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.3032, allocations: 27.92 kB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.3033, allocations: 47.59 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.3035, allocations: 123.4 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3035, allocations: 3.938 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3035, allocations: 0 / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3035, allocations: 0 / 0.5645 GB, free: 1.242 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004843/0.304, allocations: 361.4 kB / 0.5648 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.304, allocations: 12.03 kB / 0.5648 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.087e-05/0.304, allocations: 192 / 0.5648 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.3041, allocations: 38.75 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.3041, allocations: 16.84 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3043, allocations: 162.3 kB / 0.565 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.3043, allocations: 8.359 kB / 0.565 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3043, allocations: 4.375 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3045, allocations: 57.98 kB / 0.5651 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3045, allocations: 0 / 0.5651 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3045, allocations: 0 / 0.5651 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3045, allocations: 0 / 0.5651 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.356e-05/0.3046, allocations: 27.98 kB / 0.5651 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.305, allocations: 279.8 kB / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3051, allocations: 38.56 kB / 0.5654 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.3051, allocations: 24.88 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.3051, allocations: 0 / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.3052, allocations: 38.56 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.3052, allocations: 0 / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008633/0.306, allocations: 241.1 kB / 0.5657 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.3061, allocations: 59.34 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.3063, allocations: 271.8 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3064, allocations: 29.7 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.3064, allocations: 112.1 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.3065, allocations: 27.73 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.3065, allocations: 21.72 kB / 0.5662 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3067, allocations: 334.8 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.3067, allocations: 23.98 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.3068, allocations: 27.98 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.307, allocations: 65.05 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.307, allocations: 0 / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000209/0.3072, allocations: 109.5 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3072, allocations: 4 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3072, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3072, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.3073, allocations: 27.98 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.3073, allocations: 0 / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.3073, allocations: 7.938 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3073, allocations: 0 / 0.5668 GB, free: 14.65 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 (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 prepare postOptimizeDAE: time 0.0001082/0.3074, allocations: 136.5 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.3075, allocations: 15.91 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3078, allocations: 119 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3078, allocations: 4 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3078, allocations: 0 / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.3078, allocations: 7.922 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.3083, allocations: 390.8 kB / 0.5674 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3083, allocations: 0 / 0.5674 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.3084, allocations: 15.98 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.3084, allocations: 3.938 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3084, allocations: 8.031 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3084, allocations: 0 / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3084, allocations: 0 / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.3087, allocations: 212.2 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.3087, allocations: 15.84 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3087, allocations: 7.938 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.3088, allocations: 11.98 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.3089, allocations: 0 / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.3089, allocations: 11.94 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.3091, allocations: 216.1 kB / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3091, allocations: 0 / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.3093, allocations: 23.94 kB / 0.5679 GB, free: 13.39 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 (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.002157/0.3115, allocations: 1.091 MB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.3117, allocations: 63.89 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3117, allocations: 0 / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.793e-05/0.3118, allocations: 35.92 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.3121, allocations: 22.14 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.3142, allocations: 1.813 MB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3146, allocations: 0.7158 MB / 0.5716 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.3146, allocations: 16.97 kB / 0.5716 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.3147, allocations: 47.41 kB / 0.5717 GB, free: 9.605 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3147, allocations: 0 / 0.5717 GB, free: 9.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.3373, allocations: 3.584 MB / 0.5752 GB, free: 6.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.02, allocations: 3.609 kB / 0.5752 GB, free: 6.07 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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: 13.937888456974179]