Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001242/0.001242, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001371/0.001371, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.366/1.366, allocations: 230.5 MB / 258.2 MB, free: 7.809 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.2121/0.2121, allocations: 46.94 MB / 361.6 MB, free: 3.949 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 75.88 kB / 0.4969 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2865, allocations: 66.08 MB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002774/0.2893, allocations: 1.59 MB / 0.563 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.291, allocations: 1.231 MB / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.291, allocations: 0 / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.2912, allocations: 19.86 kB / 0.5642 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.2914, allocations: 87.61 kB / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.2917, allocations: 99.69 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.2918, allocations: 59.84 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.2919, allocations: 13.81 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.292, allocations: 27.86 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.2921, allocations: 39.16 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2921, allocations: 4 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.2922, allocations: 95.88 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.2923, allocations: 15.92 kB / 0.5646 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.2923, allocations: 19.88 kB / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2925, allocations: 135.5 kB / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2926, allocations: 0 / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2926, allocations: 4 kB / 0.5648 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2926, allocations: 0 / 0.5648 GB, free: 0.6211 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.0004458/0.293, allocations: 333.6 kB / 0.5651 GB, free: 268 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.293, allocations: 8.031 kB / 0.5651 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.289e-05/0.293, allocations: 192 / 0.5651 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.2931, allocations: 38.75 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2931, allocations: 8.891 kB / 0.5652 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.2933, allocations: 136.3 kB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2933, allocations: 4.375 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2933, allocations: 8.375 kB / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2935, allocations: 89.42 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2935, allocations: 3.984 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2935, allocations: 0 / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.2935, allocations: 0 / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.726e-05/0.2936, allocations: 27.92 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.2939, allocations: 240 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.2941, allocations: 50.55 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.2941, allocations: 16.88 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.2942, allocations: 4 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2942, allocations: 34.56 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2942, allocations: 0 / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005127/0.2947, allocations: 145.4 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.2947, allocations: 77.11 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.2949, allocations: 141.8 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2949, allocations: 25.7 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.295, allocations: 100.1 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.295, allocations: 19.86 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.295, allocations: 17.72 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2952, allocations: 326.8 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.2952, allocations: 15.98 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.2953, allocations: 59.41 kB / 0.5666 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.2954, allocations: 40.83 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2954, allocations: 3.938 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001925/0.2956, allocations: 89.59 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2956, allocations: 6.344 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.2956, allocations: 7.938 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2957, allocations: 0 / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.2957, allocations: 11.98 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2957, allocations: 256 / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.2958, allocations: 7.984 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2958, allocations: 8 kB / 0.5668 GB, free: 14.33 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 8.555e-05/0.2959, allocations: 119.1 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.2959, allocations: 11.95 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.2961, allocations: 93.98 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2961, allocations: 4 kB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2961, allocations: 0 / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2961, allocations: 0 / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.2965, allocations: 309.6 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2965, allocations: 0 / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.2966, allocations: 19.92 kB / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2966, allocations: 4 kB / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2966, allocations: 4 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2966, allocations: 3.938 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2966, allocations: 0 / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.2968, allocations: 175.5 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.2969, allocations: 7.953 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.2969, allocations: 0 / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.297, allocations: 7.938 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.297, allocations: 7.984 kB / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.297, allocations: 8 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.257e-05/0.2971, allocations: 111.2 kB / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2971, allocations: 0 / 0.5677 GB, free: 13.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.2973, allocations: 39.88 kB / 0.5677 GB, free: 13.33 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.002135/0.2995, allocations: 1.129 MB / 0.5688 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.2997, allocations: 43.97 kB / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2997, allocations: 0 / 0.5688 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.2997, allocations: 31.92 kB / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3001, allocations: 19.92 kB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.3016, allocations: 1.421 MB / 0.5703 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.986e-05/0.3017, allocations: 79.16 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.81e-05/0.3017, allocations: 19.98 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.3018, allocations: 27.42 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3018, allocations: 3.938 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.325, allocations: 3.492 MB / 0.5738 GB, free: 7.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.17, allocations: 11.5 kB / 0.5738 GB, free: 7.129 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.016476839082316]