Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001312/0.001312, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001388/0.001388, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.374/1.374, allocations: 230.5 MB / 258.2 MB, free: 7.98 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.2132/0.2132, allocations: 46.92 MB / 361.6 MB, free: 4.172 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 79.88 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3032, allocations: 66.08 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003254/0.3064, allocations: 1.679 MB / 0.5632 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3075, allocations: 0.585 MB / 0.5637 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.3076, allocations: 11.88 kB / 0.5637 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.3082, allocations: 459.1 kB / 0.5642 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.3086, allocations: 295.2 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.309, allocations: 167 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.3092, allocations: 179.6 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.3093, allocations: 13.81 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3095, allocations: 115.7 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.3098, allocations: 247.5 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3098, allocations: 4 kB / 0.5651 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.3099, allocations: 39.92 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.31, allocations: 83.69 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.751e-05/0.3101, allocations: 107 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.3104, allocations: 270.6 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3104, allocations: 0 / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3104, allocations: 0 / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3104, allocations: 0 / 0.5656 GB, free: 60 kB / 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.0007672/0.3112, allocations: 0.5893 MB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3112, allocations: 8.031 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.438e-05/0.3112, allocations: 4.188 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.3112, allocations: 38.69 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.3113, allocations: 44.66 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.3116, allocations: 250.7 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-06/0.3116, allocations: 384 / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3116, allocations: 4.375 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3117, allocations: 57.98 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3118, allocations: 4 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3118, allocations: 4 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.3118, allocations: 0 / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.916e-05/0.3119, allocations: 31.97 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.3124, allocations: 375.6 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.3126, allocations: 46.56 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.3126, allocations: 16.94 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.3126, allocations: 4 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3127, allocations: 34.5 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3127, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006128/0.3133, allocations: 244.8 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3133, allocations: 59.34 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008884/0.3142, allocations: 0.8699 MB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3142, allocations: 29.7 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3144, allocations: 224.1 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.3144, allocations: 19.8 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.3145, allocations: 21.7 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.3147, allocations: 366.7 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.3148, allocations: 23.98 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.3149, allocations: 27.97 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.315, allocations: 53.02 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.315, allocations: 0 / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002255/0.3152, allocations: 125.6 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3153, allocations: 7.984 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.3153, allocations: 4 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3153, allocations: 0 / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.3153, allocations: 12 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3154, allocations: 0 / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.3154, allocations: 11.97 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3154, allocations: 3.938 kB / 0.5691 GB, free: 12.28 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.0001955/0.3156, allocations: 219 kB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.3157, allocations: 47.67 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.316, allocations: 149.2 kB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.316, allocations: 0 / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.316, allocations: 0 / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.316, allocations: 0 / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.3166, allocations: 441.5 kB / 0.5699 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3166, allocations: 0 / 0.5699 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.3167, allocations: 15.98 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3167, allocations: 8 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.3167, allocations: 0 / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3167, allocations: 3.938 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3167, allocations: 0 / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.317, allocations: 223.4 kB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.3171, allocations: 35.72 kB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.3171, allocations: 7.984 kB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.3172, allocations: 11.94 kB / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.3172, allocations: 3.984 kB / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-06/0.3172, allocations: 0 / 0.5702 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006324/0.3179, allocations: 0.6589 MB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3179, allocations: 0 / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3181, allocations: 31.88 kB / 0.5709 GB, free: 10.36 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.001918/0.32, allocations: 1.068 MB / 0.5719 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3202, allocations: 47.97 kB / 0.572 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3202, allocations: 4 kB / 0.572 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.058e-05/0.3203, allocations: 31.91 kB / 0.572 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.3207, allocations: 30.25 kB / 0.5721 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.3245, allocations: 3.275 MB / 0.5753 GB, free: 5.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.325, allocations: 0.826 MB / 0.5761 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.976e-05/0.325, allocations: 20.66 kB / 0.5761 GB, free: 5.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3252, allocations: 115.4 kB / 0.5762 GB, free: 4.938 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3252, allocations: 0 / 0.5762 GB, free: 4.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.3595, allocations: 6.314 MB / 0.5824 GB, free: 14.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.47, allocations: 14.09 kB / 0.5824 GB, free: 14.66 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.341994568007067]