Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.00133/0.00133, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001532/0.001532, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.4/1.4, allocations: 230.5 MB / 258.2 MB, free: 7.762 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.2188/0.2188, allocations: 46.95 MB / 361.6 MB, free: 3.973 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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 75.88 kB / 0.4969 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2785, allocations: 66.08 MB / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00305/0.2815, allocations: 1.605 MB / 0.563 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2826, allocations: 0.5305 MB / 0.5635 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.2826, allocations: 8 kB / 0.5636 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.2829, allocations: 71.77 kB / 0.5636 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.2832, allocations: 107.6 kB / 0.5637 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.2835, allocations: 123.1 kB / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.2837, allocations: 79.81 kB / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.2838, allocations: 13.81 kB / 0.5639 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.2839, allocations: 35.84 kB / 0.564 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.284, allocations: 67.81 kB / 0.564 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.284, allocations: 4 kB / 0.564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.2841, allocations: 43.98 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.2842, allocations: 27.84 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.2842, allocations: 23.81 kB / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.2844, allocations: 115.4 kB / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2844, allocations: 0 / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2844, allocations: 0 / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.2844, allocations: 0 / 0.5642 GB, free: 1.227 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.0004723/0.2849, allocations: 329.6 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2849, allocations: 16.02 kB / 0.5646 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.538e-05/0.2849, allocations: 8.188 kB / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.285, allocations: 30.75 kB / 0.5646 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.285, allocations: 16.84 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.2852, allocations: 150.9 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.2852, allocations: 384 / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2852, allocations: 8.375 kB / 0.5648 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.2854, allocations: 53.98 kB / 0.5648 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2854, allocations: 0 / 0.5648 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2854, allocations: 8 kB / 0.5648 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.2854, allocations: 4 kB / 0.5648 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.945e-05/0.2855, allocations: 31.97 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.2859, allocations: 259.9 kB / 0.5651 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.286, allocations: 58.48 kB / 0.5652 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.2861, allocations: 8.953 kB / 0.5652 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.2861, allocations: 7.984 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.2861, allocations: 34.56 kB / 0.5652 GB, free: 84 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2861, allocations: 0 / 0.5652 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008874/0.287, allocations: 245.2 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.2871, allocations: 55.41 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.2873, allocations: 214.3 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2873, allocations: 25.7 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.2874, allocations: 112.1 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.2874, allocations: 23.73 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.2875, allocations: 33.66 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2876, allocations: 326.8 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/0.2877, allocations: 31.97 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.2878, allocations: 23.98 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.288, allocations: 76.81 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.288, allocations: 0 / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002232/0.2882, allocations: 117.5 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2882, allocations: 10.19 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2882, allocations: 320 / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2882, allocations: 0 / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.2883, allocations: 19.98 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2883, allocations: 0 / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.2884, allocations: 11.92 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2884, allocations: 3.984 kB / 0.5665 GB, free: 14.72 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 9.654e-05/0.2885, allocations: 125.8 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.2885, allocations: 11.91 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.2888, allocations: 135 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2888, allocations: 0 / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2888, allocations: 4 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2888, allocations: 4.359 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.2894, allocations: 390.3 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2894, allocations: 0 / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.2894, allocations: 12 kB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.2895, allocations: 15.95 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.2895, allocations: 4 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2895, allocations: 4 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.2895, allocations: 3.984 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.2898, allocations: 212.3 kB / 0.5674 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.2898, allocations: 11.91 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.2898, allocations: 3.938 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.2899, allocations: 7.984 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.2899, allocations: 7.984 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.2899, allocations: 8 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.2901, allocations: 164.2 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2901, allocations: 0 / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.2903, allocations: 23.94 kB / 0.5676 GB, free: 13.5 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.002253/0.2926, allocations: 1.121 MB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.2928, allocations: 79.86 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2928, allocations: 0 / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.2929, allocations: 39.97 kB / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.2932, allocations: 12 kB / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.2952, allocations: 1.72 MB / 0.5705 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.2953, allocations: 104.7 kB / 0.5706 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.2953, allocations: 20.66 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.2954, allocations: 31.42 kB / 0.5706 GB, free: 10.42 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2954, allocations: 0 / 0.5706 GB, free: 10.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.3175, allocations: 3.404 MB / 0.574 GB, free: 7.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.07, allocations: 11.31 kB / 0.574 GB, free: 7.031 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.982558679999784]