Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001706/0.001706, allocations: 110 kB / 20.43 MB, free: 1.453 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.00214/0.00214, allocations: 213.9 kB / 23.74 MB, free: 4.66 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.46/1.46, allocations: 230.5 MB / 257.4 MB, free: 7.961 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.2266/0.2266, allocations: 46.92 MB / 360.8 MB, free: 4.156 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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 75.88 kB / 0.4962 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.307, allocations: 66.09 MB / 0.5608 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.00319/0.3102, allocations: 1.695 MB / 0.5624 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3113, allocations: 0.5927 MB / 0.563 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.3114, allocations: 4 kB / 0.563 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.3116, allocations: 79.69 kB / 0.5631 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.3119, allocations: 99.58 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.3124, allocations: 189.2 kB / 0.5633 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3126, allocations: 99.67 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3127, allocations: 14.06 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.3128, allocations: 39.84 kB / 0.5635 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.3129, allocations: 63.73 kB / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3129, allocations: 4 kB / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.313, allocations: 51.98 kB / 0.5636 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.3131, allocations: 31.89 kB / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.3131, allocations: 43.62 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.3134, allocations: 119.5 kB / 0.5638 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3134, allocations: 4 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3134, allocations: 0 / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3134, allocations: 3.938 kB / 0.5638 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005571/0.3139, allocations: 361.5 kB / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.314, allocations: 8.031 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.314, allocations: 34.73 kB / 0.5642 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.314, allocations: 16.84 kB / 0.5642 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3142, allocations: 158.2 kB / 0.5644 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.3142, allocations: 8.375 kB / 0.5644 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.3143, allocations: 4.375 kB / 0.5644 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3144, allocations: 62.23 kB / 0.5644 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3145, allocations: 7.922 kB / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3145, allocations: 11.98 kB / 0.5644 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3145, allocations: 0 / 0.5644 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.3146, allocations: 43.91 kB / 0.5645 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.3151, allocations: 307.8 kB / 0.5648 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.3153, allocations: 58.58 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.3154, allocations: 24.97 kB / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3154, allocations: 3.984 kB / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.3155, allocations: 34.56 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3155, allocations: 0 / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001478/0.3169, allocations: 424.9 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.317, allocations: 55.41 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3172, allocations: 226.6 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3172, allocations: 33.7 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.3173, allocations: 108.1 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.3174, allocations: 35.64 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.3174, allocations: 29.7 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3176, allocations: 322.8 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.3177, allocations: 59.89 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3178, allocations: 59.95 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.3181, allocations: 120.8 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3181, allocations: 0 / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003684/0.3185, allocations: 165.8 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3185, allocations: 4 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3185, allocations: 4 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3185, allocations: 3.984 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3186, allocations: 31.92 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3187, allocations: 8.5 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.3187, allocations: 7.984 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3187, allocations: 4 kB / 0.5665 GB, free: 14.14 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.0001255/0.3189, allocations: 131.1 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.3189, allocations: 19.91 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.3194, allocations: 202.9 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3194, allocations: 0 / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3194, allocations: 3.938 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3194, allocations: 4 kB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008525/0.3202, allocations: 479.1 kB / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.3202, allocations: 7.922 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3203, allocations: 27.92 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3204, allocations: 0 / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3204, allocations: 8 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3204, allocations: 0 / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3204, allocations: 0 / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.3208, allocations: 281 kB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.3208, allocations: 19.83 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3209, allocations: 4 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.321, allocations: 15.98 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.321, allocations: 7.984 kB / 0.5677 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.321, allocations: 8 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.3212, allocations: 164.4 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3212, allocations: 3.938 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3214, allocations: 31.92 kB / 0.5679 GB, free: 12.65 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.002408/0.3239, allocations: 1.15 MB / 0.569 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.3242, allocations: 131.8 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3242, allocations: 0 / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.3244, allocations: 68.02 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.3249, allocations: 31.27 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3275, allocations: 1.975 MB / 0.5712 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.3279, allocations: 0.7197 MB / 0.5719 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.328, allocations: 32.47 kB / 0.5719 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.3281, allocations: 47.41 kB / 0.5719 GB, free: 8.516 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3281, allocations: 0 / 0.5719 GB, free: 8.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.3574, allocations: 3.819 MB / 0.5757 GB, free: 4.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.6, allocations: 11.86 kB / 0.5757 GB, free: 4.719 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.560993839986622]