Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001774/0.001774, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001895/0.001895, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2196/0.2196, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3162, allocations: 66.04 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002997/0.3192, allocations: 1.648 MB / 0.5622 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3203, allocations: 0.5739 MB / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.3204, allocations: 0 / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.321, allocations: 455.1 kB / 0.5632 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.3214, allocations: 291.3 kB / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.3218, allocations: 175.4 kB / 0.5637 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.3221, allocations: 183.6 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3222, allocations: 17.81 kB / 0.5639 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.3223, allocations: 111.8 kB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.3226, allocations: 251.5 kB / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3226, allocations: 4 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.519e-05/0.3227, allocations: 39.92 kB / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.3228, allocations: 83.69 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.002e-05/0.3229, allocations: 75.23 kB / 0.5644 GB, free: 336 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.3232, allocations: 274.5 kB / 0.5647 GB, free: 60 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3232, allocations: 4 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd: time 4.578e-06/0.3232, allocations: 4 kB / 0.5647 GB, free: 52 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3232, allocations: 0 / 0.5647 GB, free: 52 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.0007749/0.324, allocations: 0.5972 MB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3241, allocations: 8.031 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.3241, allocations: 34.69 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.3242, allocations: 48.64 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3245, allocations: 246.8 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3245, allocations: 12.31 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.3245, allocations: 384 / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3247, allocations: 65.61 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3247, allocations: 4 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3247, allocations: 0 / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3247, allocations: 0 / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.3248, allocations: 43.95 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.3254, allocations: 367.7 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3255, allocations: 50.55 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.397e-05/0.3256, allocations: 28.94 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3256, allocations: 0 / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3256, allocations: 30.56 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3256, allocations: 0 / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008775/0.3265, allocations: 332.5 kB / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3266, allocations: 55.34 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009336/0.3275, allocations: 0.8737 MB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3275, allocations: 29.7 kB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.3277, allocations: 220 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.3277, allocations: 23.8 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.3278, allocations: 17.72 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.328, allocations: 362.8 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3281, allocations: 35.97 kB / 0.568 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3282, allocations: 47.95 kB / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.3285, allocations: 84.8 kB / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3285, allocations: 0 / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003411/0.3288, allocations: 161.3 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3289, allocations: 8 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3289, allocations: 3.938 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3289, allocations: 0 / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.329, allocations: 19.98 kB / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.329, allocations: 0 / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.3291, allocations: 15.92 kB / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3291, allocations: 320 / 0.5684 GB, free: 12.07 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 (7): * Single equations (assignments): 7 * 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.0002039/0.3293, allocations: 217.8 kB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.3294, allocations: 43.72 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.3298, allocations: 189.4 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3298, allocations: 7.938 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3298, allocations: 0 / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3298, allocations: 3.938 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007156/0.3305, allocations: 485.5 kB / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3305, allocations: 4 kB / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-05/0.3306, allocations: 23.98 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3306, allocations: 0 / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3306, allocations: 7.875 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3306, allocations: 0 / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3306, allocations: 0 / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.3311, allocations: 255.4 kB / 0.5695 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.3311, allocations: 43.7 kB / 0.5696 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.3311, allocations: 7.922 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3313, allocations: 15.98 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3313, allocations: 7.984 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.3313, allocations: 0 / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006704/0.332, allocations: 0.655 MB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.332, allocations: 0 / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3322, allocations: 27.98 kB / 0.5703 GB, free: 10.01 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 (7): * Single equations (assignments): 7 * 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.002133/0.3344, allocations: 1.138 MB / 0.5714 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.3347, allocations: 87.92 kB / 0.5715 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3347, allocations: 0 / 0.5715 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.3348, allocations: 47.91 kB / 0.5715 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.3352, allocations: 34.92 kB / 0.5715 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.3394, allocations: 3.375 MB / 0.5748 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3397, allocations: 232.1 kB / 0.5751 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.907e-05/0.3398, allocations: 24.64 kB / 0.5751 GB, free: 5.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.3399, allocations: 119.5 kB / 0.5752 GB, free: 5.012 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3399, allocations: 3.938 kB / 0.5752 GB, free: 5.008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.3743, allocations: 6.764 MB / 0.5818 GB, free: 14.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.62, allocations: 13.11 kB / 0.5818 GB, free: 14.29 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.550255320034921]