Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001265/0.001265, allocations: 109.1 kB / 21.22 MB, free: 0.7383 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.001519/0.001519, allocations: 210.7 kB / 24.53 MB, free: 4.098 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.425/1.425, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2246/0.2246, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002469/0.002469, allocations: 75.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2902, allocations: 66.08 MB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003045/0.2933, allocations: 1.619 MB / 0.5631 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2944, allocations: 0.5499 MB / 0.5636 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.2945, allocations: 0 / 0.5636 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.2947, allocations: 27.84 kB / 0.5637 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.2951, allocations: 79.62 kB / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.2954, allocations: 110.9 kB / 0.5638 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.2956, allocations: 71.77 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2957, allocations: 12 kB / 0.5639 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.2958, allocations: 23.86 kB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.2959, allocations: 27.84 kB / 0.564 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2959, allocations: 4 kB / 0.564 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.296, allocations: 32 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.296, allocations: 11.92 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.2961, allocations: 23.81 kB / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.2963, allocations: 87.58 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2963, allocations: 0 / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2963, allocations: 0 / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.2963, allocations: 8 kB / 0.5641 GB, free: 1.648 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.0005529/0.2969, allocations: 301.9 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2969, allocations: 8.031 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.964e-05/0.2969, allocations: 4.188 kB / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.297, allocations: 38.73 kB / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.297, allocations: 8.891 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.2972, allocations: 132.9 kB / 0.5646 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.2973, allocations: 4.312 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.2973, allocations: 4.375 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.2974, allocations: 65.92 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2974, allocations: 0 / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.2974, allocations: 0 / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2975, allocations: 0 / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.2976, allocations: 19.98 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.298, allocations: 255.9 kB / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.2982, allocations: 54.48 kB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.2982, allocations: 12.86 kB / 0.565 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.2983, allocations: 4.078 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.2983, allocations: 34.56 kB / 0.565 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2983, allocations: 0 / 0.565 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006061/0.2989, allocations: 153.4 kB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.2989, allocations: 51.41 kB / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.2991, allocations: 152.9 kB / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.2991, allocations: 25.7 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.2992, allocations: 100.1 kB / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.2992, allocations: 15.86 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.2992, allocations: 13.72 kB / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2994, allocations: 330.8 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.753e-05/0.2995, allocations: 19.98 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.2995, allocations: 23.97 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.2997, allocations: 56.77 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2997, allocations: 192 / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002017/0.2999, allocations: 89.62 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2999, allocations: 11.92 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2999, allocations: 4 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2999, allocations: 0 / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.3, allocations: 8 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3, allocations: 0 / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.3001, allocations: 7.984 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3001, allocations: 0 / 0.5661 GB, free: 15.48 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 0.0001012/0.3002, allocations: 123.1 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.3002, allocations: 11.95 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.3005, allocations: 101.9 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3005, allocations: 4 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3005, allocations: 0 / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3005, allocations: 0 / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.301, allocations: 329.5 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.301, allocations: 0 / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.301, allocations: 23.98 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.301, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.301, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.301, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.301, allocations: 3.938 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.3013, allocations: 179.7 kB / 0.5668 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.3013, allocations: 11.95 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.3013, allocations: 4.281 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.3014, allocations: 11.98 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.3014, allocations: 3.938 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3014, allocations: 3.938 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3015, allocations: 115.2 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3015, allocations: 0 / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00025/0.3018, allocations: 19.94 kB / 0.567 GB, free: 14.46 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.001972/0.3038, allocations: 1.015 MB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.304, allocations: 55.89 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.304, allocations: 0 / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.079e-05/0.3041, allocations: 27.98 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3044, allocations: 30.53 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3063, allocations: 1.457 MB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3066, allocations: 0.6924 MB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.3067, allocations: 23.83 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.3067, allocations: 27.42 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3067, allocations: 0 / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.3272, allocations: 2.74 MB / 0.5729 GB, free: 8.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.91, allocations: 11.05 kB / 0.5729 GB, free: 8.438 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.897923117969185]