Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001651/0.001651, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002242/0.002242, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.601/1.601, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.237/0.237, allocations: 46.93 MB / 361.6 MB, free: 4.34 MB / 286.1 MB " [Timeout remaining time 179] 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.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 55.91 kB / 0.4969 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.378, allocations: 66.04 MB / 0.5614 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004261/0.3822, allocations: 2.056 MB / 0.5634 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.385, allocations: 1.381 MB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.3851, allocations: 7.938 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.3855, allocations: 55.58 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.386, allocations: 211.1 kB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.3875, allocations: 0.6026 MB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006387/0.3881, allocations: 331 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.3884, allocations: 48.91 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.3888, allocations: 147.3 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.3892, allocations: 207.3 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.3893, allocations: 16 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.3895, allocations: 63.98 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.3897, allocations: 151.4 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.3899, allocations: 178.6 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006281/0.3906, allocations: 423.9 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3906, allocations: 0 / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3906, allocations: 4 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3906, allocations: 0 / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001246/0.3918, allocations: 0.7523 MB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.3919, allocations: 8.031 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.934e-05/0.3919, allocations: 4.188 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.392, allocations: 46.73 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.3923, allocations: 76.5 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/0.3932, allocations: 431.2 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3932, allocations: 8.125 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.3932, allocations: 12 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.3936, allocations: 143.3 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3936, allocations: 0 / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.3936, allocations: 7.984 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3936, allocations: 0 / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.3939, allocations: 95.88 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.395, allocations: 0.6791 MB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.3952, allocations: 109.2 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.3953, allocations: 49.75 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.3954, allocations: 12 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.3954, allocations: 30.56 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.3954, allocations: 0 / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001621/0.3971, allocations: 0.5735 MB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3971, allocations: 77.11 kB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3982, allocations: 0.9299 MB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.3982, allocations: 29.7 kB / 0.5711 GB, free: 10.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.3985, allocations: 272.3 kB / 0.5714 GB, free: 10.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.231e-05/0.3986, allocations: 59.47 kB / 0.5714 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-05/0.3987, allocations: 33.7 kB / 0.5714 GB, free: 9.953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3988, allocations: 317.9 kB / 0.5717 GB, free: 9.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.399, allocations: 63.95 kB / 0.5718 GB, free: 9.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3992, allocations: 90.34 kB / 0.5719 GB, free: 9.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.3996, allocations: 153.6 kB / 0.572 GB, free: 9.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3996, allocations: 4 kB / 0.572 GB, free: 9.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005305/0.4001, allocations: 241.2 kB / 0.5723 GB, free: 9.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4001, allocations: 4 kB / 0.5723 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4001, allocations: 3.984 kB / 0.5723 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4001, allocations: 4 kB / 0.5723 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.4004, allocations: 39.97 kB / 0.5723 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4004, allocations: 0 / 0.5723 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.4005, allocations: 16 kB / 0.5723 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.4005, allocations: 11.92 kB / 0.5723 GB, free: 9 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002548/0.4008, allocations: 217.7 kB / 0.5726 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.4009, allocations: 67.56 kB / 0.5726 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.4016, allocations: 294.9 kB / 0.5729 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4016, allocations: 0 / 0.5729 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4016, allocations: 4 kB / 0.5729 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4016, allocations: 3.984 kB / 0.5729 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.4029, allocations: 0.7933 MB / 0.5737 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4029, allocations: 4 kB / 0.5737 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.403, allocations: 43.91 kB / 0.5737 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.403, allocations: 0 / 0.5737 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.4031, allocations: 7.938 kB / 0.5737 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4031, allocations: 0 / 0.5737 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4031, allocations: 0 / 0.5737 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.4036, allocations: 422.3 kB / 0.5741 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.4038, allocations: 79.58 kB / 0.5742 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.4038, allocations: 7.938 kB / 0.5742 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.404, allocations: 11.98 kB / 0.5742 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.4041, allocations: 15.92 kB / 0.5743 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.4041, allocations: 11.98 kB / 0.5743 GB, free: 6.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007818/0.4049, allocations: 0.6825 MB / 0.5749 GB, free: 6.273 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4049, allocations: 4 kB / 0.5749 GB, free: 6.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000363/0.4052, allocations: 55.94 kB / 0.575 GB, free: 6.215 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 (16): * Single equations (assignments): 16 * 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.002353/0.4076, allocations: 1.255 MB / 0.5762 GB, free: 5.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004602/0.4081, allocations: 156 kB / 0.5764 GB, free: 4.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4081, allocations: 0 / 0.5764 GB, free: 4.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.4083, allocations: 92.12 kB / 0.5764 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.4089, allocations: 89.86 kB / 0.5765 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/0.4158, allocations: 5.185 MB / 0.5816 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.4163, allocations: 0.8808 MB / 0.5825 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.4165, allocations: 99.36 kB / 0.5826 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.4168, allocations: 175.4 kB / 0.5827 GB, free: 14.31 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4168, allocations: 0 / 0.5827 GB, free: 14.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.4502, allocations: 10.41 MB / 0.5929 GB, free: 3.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.33, allocations: 0 / 0.5929 GB, free: 3.992 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 15.908956000988837]