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.001336/0.001336, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001485/0.001485, allocations: 217.6 kB / 23.73 MB, free: 4.406 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.367/1.367, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2171/0.2171, allocations: 46.96 MB / 360.8 MB, free: 3.891 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 87.86 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2901, allocations: 66.08 MB / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002895/0.293, allocations: 1.611 MB / 0.5623 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.294, allocations: 0.5382 MB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.294, allocations: 4 kB / 0.5628 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.2943, allocations: 75.77 kB / 0.5629 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.2946, allocations: 99.59 kB / 0.563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.2949, allocations: 123 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.295, allocations: 75.83 kB / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.2951, allocations: 13.81 kB / 0.5632 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.942e-05/0.2952, allocations: 43.83 kB / 0.5632 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2953, allocations: 59.81 kB / 0.5633 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2953, allocations: 4 kB / 0.5633 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/0.2954, allocations: 43.98 kB / 0.5633 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.2954, allocations: 19.92 kB / 0.5633 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.2955, allocations: 27.8 kB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.2956, allocations: 119.4 kB / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2956, allocations: 0 / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2956, allocations: 0 / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.2957, allocations: 0 / 0.5635 GB, free: 1.133 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.0004486/0.2961, allocations: 341.6 kB / 0.5638 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2961, allocations: 12.03 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.2962, allocations: 34.69 kB / 0.5639 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.2962, allocations: 16.84 kB / 0.5639 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.2964, allocations: 143 kB / 0.564 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2964, allocations: 4.375 kB / 0.564 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.2964, allocations: 8.25 kB / 0.564 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.2965, allocations: 58.23 kB / 0.5641 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2966, allocations: 3.938 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.2966, allocations: 4 kB / 0.5641 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2966, allocations: 0 / 0.5641 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.2967, allocations: 27.97 kB / 0.5641 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.297, allocations: 263.9 kB / 0.5644 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.2972, allocations: 54.48 kB / 0.5644 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.2972, allocations: 20.94 kB / 0.5644 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2972, allocations: 0 / 0.5644 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.2973, allocations: 34.61 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2973, allocations: 0 / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008482/0.2981, allocations: 241.1 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.2982, allocations: 51.41 kB / 0.5647 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.2984, allocations: 214.3 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2984, allocations: 29.64 kB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.2985, allocations: 108.1 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.2985, allocations: 39.8 kB / 0.5651 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.2985, allocations: 21.72 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2987, allocations: 326.8 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.2988, allocations: 31.97 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/0.2988, allocations: 28.06 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.299, allocations: 76.95 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.299, allocations: 0 / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002172/0.2992, allocations: 109.6 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2992, allocations: 4 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2992, allocations: 4 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2993, allocations: 0 / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.2993, allocations: 19.92 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2994, allocations: 0 / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.2994, allocations: 11.98 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2994, allocations: 7.938 kB / 0.5657 GB, free: 14.63 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.523e-05/0.2995, allocations: 129.8 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.2995, allocations: 15.91 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.2998, allocations: 139 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2998, allocations: 0 / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2998, allocations: 0 / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2998, allocations: 3.984 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.3004, allocations: 386.2 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3004, allocations: 4 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.3005, allocations: 20.02 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3005, allocations: 0 / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3005, allocations: 7.938 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3005, allocations: 0 / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3005, allocations: 0 / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.3008, allocations: 216.2 kB / 0.5666 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.3008, allocations: 11.89 kB / 0.5666 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3008, allocations: 7.938 kB / 0.5666 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.3009, allocations: 8 kB / 0.5666 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.3009, allocations: 7.984 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3009, allocations: 4 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.3011, allocations: 164.2 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3011, allocations: 0 / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.3013, allocations: 23.94 kB / 0.5668 GB, free: 13.41 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.002237/0.3035, allocations: 1.126 MB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.3038, allocations: 67.95 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3038, allocations: 0 / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3039, allocations: 43.91 kB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3042, allocations: 20.05 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.3062, allocations: 1.716 MB / 0.5697 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3063, allocations: 92.75 kB / 0.5698 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.257e-05/0.3064, allocations: 24.95 kB / 0.5698 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.3065, allocations: 39.42 kB / 0.5699 GB, free: 10.33 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3065, allocations: 0 / 0.5699 GB, free: 10.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.3353, allocations: 3.729 MB / 0.5735 GB, free: 6.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.97, allocations: 6.359 kB / 0.5735 GB, free: 6.613 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.756342425011098]