Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 209.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 59.91 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.00316/0.3158, allocations: 1.671 MB / 0.5622 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3169, allocations: 0.5582 MB / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.3169, allocations: 4 kB / 0.5628 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.3172, allocations: 71.77 kB / 0.5629 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.3175, allocations: 111.6 kB / 0.563 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.3179, allocations: 174.7 kB / 0.5631 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3181, allocations: 99.73 kB / 0.5632 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3182, allocations: 18.05 kB / 0.5632 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/0.3183, allocations: 43.78 kB / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3184, allocations: 63.8 kB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.3185, allocations: 4 kB / 0.5634 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3186, allocations: 51.98 kB / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.3186, allocations: 27.84 kB / 0.5634 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.3187, allocations: 31.8 kB / 0.5635 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.3189, allocations: 127.4 kB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3189, allocations: 0 / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3189, allocations: 8 kB / 0.5636 GB, free: 1.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3189, allocations: 0 / 0.5636 GB, free: 1.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005946/0.3195, allocations: 357.5 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3195, allocations: 8.031 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.3196, allocations: 34.75 kB / 0.564 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.3196, allocations: 16.83 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3198, allocations: 158.2 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-06/0.3198, allocations: 384 / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.3199, allocations: 8.359 kB / 0.5641 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3201, allocations: 77.55 kB / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3201, allocations: 0 / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3201, allocations: 0 / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3201, allocations: 0 / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.3202, allocations: 51.89 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.3207, allocations: 291.7 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.321, allocations: 58.55 kB / 0.5646 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/0.3211, allocations: 29.05 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3211, allocations: 7.984 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3211, allocations: 34.59 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3211, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001482/0.3226, allocations: 437.2 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.3226, allocations: 55.41 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.3229, allocations: 227.2 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3229, allocations: 25.7 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.323, allocations: 108.1 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.323, allocations: 35.69 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.3231, allocations: 25.72 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3232, allocations: 326.8 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3234, allocations: 59.95 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3235, allocations: 60 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.3238, allocations: 128.7 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3238, allocations: 0 / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003585/0.3241, allocations: 169.5 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3241, allocations: 4 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3241, allocations: 0 / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.3242, allocations: 7.938 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3243, allocations: 27.98 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3243, allocations: 0 / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.3244, allocations: 7.984 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3244, allocations: 4 kB / 0.5663 GB, free: 14.2 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 (11): * Single equations (assignments): 11 * 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.0001274/0.3245, allocations: 137.8 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.3246, allocations: 15.91 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.325, allocations: 187 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.325, allocations: 7.938 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.325, allocations: 0 / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.325, allocations: 0 / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.3258, allocations: 479 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3258, allocations: 4.062 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3259, allocations: 31.91 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3259, allocations: 4.094 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3259, allocations: 4.125 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3259, allocations: 4 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3259, allocations: 4 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.3263, allocations: 269 kB / 0.5674 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.3263, allocations: 23.89 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.3264, allocations: 4 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3265, allocations: 15.98 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.3265, allocations: 11.92 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3265, allocations: 0 / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.3267, allocations: 168.3 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3267, allocations: 0 / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3269, allocations: 31.92 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002401/0.3293, allocations: 1.197 MB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.3297, allocations: 127.8 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3297, allocations: 0 / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.3299, allocations: 59.91 kB / 0.569 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3302, allocations: 26.55 kB / 0.569 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.3328, allocations: 1.98 MB / 0.571 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.3329, allocations: 105.8 kB / 0.5711 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.082e-05/0.333, allocations: 36.45 kB / 0.5711 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.3331, allocations: 47.36 kB / 0.5711 GB, free: 9.227 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3331, allocations: 0 / 0.5711 GB, free: 9.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.3616, allocations: 4.246 MB / 0.5753 GB, free: 5.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.16, allocations: 4.875 kB / 0.5753 GB, free: 5.027 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.155428914004005]