Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001372/0.001372, allocations: 115.1 kB / 20.44 MB, free: 1.344 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.001508/0.001508, allocations: 208.7 kB / 23.72 MB, free: 4.535 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.363/1.363, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2202/0.2202, allocations: 46.96 MB / 360.8 MB, free: 3.926 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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 75.88 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2963, allocations: 66.08 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002963/0.2993, allocations: 1.62 MB / 0.5623 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3003, allocations: 0.5266 MB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.3003, allocations: 4 kB / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.3006, allocations: 123.7 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.3009, allocations: 127.5 kB / 0.563 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.3012, allocations: 123 kB / 0.5632 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.3014, allocations: 103.7 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3015, allocations: 13.81 kB / 0.5633 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.3016, allocations: 43.89 kB / 0.5633 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.3017, allocations: 87.77 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3018, allocations: 4 kB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.616e-05/0.3019, allocations: 47.97 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.3019, allocations: 35.84 kB / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.302, allocations: 27.75 kB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.3022, allocations: 127.4 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3022, allocations: 0 / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3022, allocations: 0 / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3022, allocations: 0 / 0.5636 GB, free: 1.039 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.0005013/0.3027, allocations: 365.4 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3027, allocations: 11.97 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.3027, allocations: 34.75 kB / 0.564 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.3028, allocations: 16.84 kB / 0.564 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.303, allocations: 166.4 kB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.303, allocations: 4.312 kB / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.303, allocations: 4.375 kB / 0.5642 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3032, allocations: 58.22 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3032, allocations: 3.938 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3032, allocations: 0 / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3032, allocations: 4 kB / 0.5643 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.3033, allocations: 31.97 kB / 0.5643 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.3037, allocations: 271.8 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3039, allocations: 54.55 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.3039, allocations: 16.94 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3039, allocations: 4 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.304, allocations: 30.56 kB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.304, allocations: 0 / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008727/0.3048, allocations: 257.1 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.3049, allocations: 51.41 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.3052, allocations: 275.8 kB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3052, allocations: 25.7 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.3052, allocations: 116.2 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.3053, allocations: 31.73 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.3053, allocations: 21.72 kB / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3055, allocations: 334.8 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.279e-05/0.3055, allocations: 27.98 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.3056, allocations: 31.97 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.3058, allocations: 76.77 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3058, allocations: 0 / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002321/0.306, allocations: 117.5 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.306, allocations: 4 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.306, allocations: 3.938 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3061, allocations: 7.938 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.3062, allocations: 19.98 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3062, allocations: 0 / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.3062, allocations: 4 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3062, allocations: 7.938 kB / 0.566 GB, free: 14.39 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.0001111/0.3063, allocations: 135.1 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.3064, allocations: 11.91 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.3067, allocations: 143 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3067, allocations: 0 / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3067, allocations: 4 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3067, allocations: 0 / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.3072, allocations: 398.7 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3072, allocations: 0 / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.3073, allocations: 15.98 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3073, allocations: 0 / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3073, allocations: 11.94 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3073, allocations: 4 kB / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3073, allocations: 0 / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3076, allocations: 228.3 kB / 0.5669 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.3076, allocations: 11.91 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3077, allocations: 3.938 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.3077, allocations: 4 kB / 0.5669 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.3078, allocations: 11.98 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.3078, allocations: 4 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.308, allocations: 212.1 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.308, allocations: 0 / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.3082, allocations: 19.94 kB / 0.5672 GB, free: 13.11 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.002234/0.3104, allocations: 1.134 MB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.3107, allocations: 71.95 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3107, allocations: 0 / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3108, allocations: 47.89 kB / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3111, allocations: 15.78 kB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.3132, allocations: 1.856 MB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.3134, allocations: 113 kB / 0.5703 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.199e-05/0.3134, allocations: 20.95 kB / 0.5704 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/0.3135, allocations: 47.41 kB / 0.5704 GB, free: 9.848 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3135, allocations: 0 / 0.5704 GB, free: 9.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.3427, allocations: 3.991 MB / 0.5743 GB, free: 5.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.97, allocations: 17.56 kB / 0.5743 GB, free: 5.859 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.761807413771749]