Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 102.6 kB / 16.27 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 191 kB / 17.19 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1816/0.1816, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 79.7 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07739/0.07918, allocations: 57.8 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002101/0.08132, allocations: 1.589 MB / 442.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004011/0.08173, allocations: 327.5 kB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.08178, allocations: 4 kB / 442.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.08213, allocations: 451.1 kB / 443 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.08236, allocations: 255.4 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.08258, allocations: 107.3 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.08271, allocations: 163.6 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.0828, allocations: 20.11 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.409e-05/0.08287, allocations: 103.8 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.08301, allocations: 211.6 kB / 443.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.08304, allocations: 0 / 443.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.0831, allocations: 27.98 kB / 443.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.08317, allocations: 79.7 kB / 443.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.08323, allocations: 107 kB / 444 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.0834, allocations: 255 kB / 444.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.08341, allocations: 0 / 444.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.08342, allocations: 0 / 444.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.08343, allocations: 0 / 444.3 MB, free: 3.148 MB / 318.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.0004319/0.08386, allocations: 0.6375 MB / 444.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.0839, allocations: 15.89 kB / 444.9 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.869e-05/0.08392, allocations: 30.75 kB / 445 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.08396, allocations: 44.38 kB / 445 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.08412, allocations: 296.2 kB / 445.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-06/0.08414, allocations: 4.375 kB / 445.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.08416, allocations: 8.125 kB / 445.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.863e-05/0.08426, allocations: 49.62 kB / 445.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.08428, allocations: 0 / 445.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.08429, allocations: 12 kB / 445.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.0843, allocations: 4 kB / 445.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.08438, allocations: 19.98 kB / 445.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.08467, allocations: 400.5 kB / 445.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.08482, allocations: 42.5 kB / 445.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.08487, allocations: 24.94 kB / 445.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.08489, allocations: 0 / 445.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.686e-06/0.0849, allocations: 30.56 kB / 445.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.08491, allocations: 0 / 445.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004462/0.08536, allocations: 224 kB / 446.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.569e-05/0.08539, allocations: 55.41 kB / 446.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.08587, allocations: 0.8613 MB / 447 MB, free: 216 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-06/0.08589, allocations: 25.7 kB / 447 MB, free: 184 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.08601, allocations: 228.2 kB / 447.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.08603, allocations: 11.75 kB / 447.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.08607, allocations: 21.7 kB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.08618, allocations: 362.8 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.08625, allocations: 15.98 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.08631, allocations: 19.98 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.08643, allocations: 52.77 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.08644, allocations: 0 / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001799/0.08662, allocations: 113.4 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.08664, allocations: 4 kB / 447.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.08665, allocations: 0 / 447.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.08667, allocations: 4 kB / 447.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.488e-05/0.08673, allocations: 11.98 kB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.08674, allocations: 7.938 kB / 447.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.08679, allocations: 8 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.08681, allocations: 7.969 kB / 447.9 MB, free: 15.3 MB / 334.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.0001424/0.08695, allocations: 209.7 kB / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.08701, allocations: 43.38 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.08725, allocations: 145.3 kB / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.08726, allocations: 0 / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.08727, allocations: 3.938 kB / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.08727, allocations: 0 / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.0877, allocations: 454.4 kB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.08771, allocations: 0 / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.08777, allocations: 15.98 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.08778, allocations: 7.938 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.08779, allocations: 4 kB / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.08779, allocations: 0 / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.0878, allocations: 0 / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.08801, allocations: 207 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.08807, allocations: 112.6 kB / 449.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.0881, allocations: 3.938 kB / 449.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.08819, allocations: 15.92 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.08822, allocations: 7.938 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.08823, allocations: 4 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005049/0.08874, allocations: 0.6511 MB / 449.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08875, allocations: 3.938 kB / 449.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.08899, allocations: 28 kB / 449.8 MB, free: 13.3 MB / 334.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.001084/0.09008, allocations: 1.025 MB / 450.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.09026, allocations: 51.91 kB / 450.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.09027, allocations: 0 / 450.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/0.09034, allocations: 27.97 kB / 450.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.09065, allocations: 35.81 kB / 450.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.09345, allocations: 3.246 MB / 454.2 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.09377, allocations: 0.8259 MB / 455 MB, free: 8.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.045e-05/0.09381, allocations: 16.23 kB / 455 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.09392, allocations: 99.39 kB / 455.1 MB, free: 7.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09392, allocations: 0 / 455.1 MB, free: 7.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1679/0.2618, allocations: 5.838 MB / 460.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.679/8.941, allocations: 4.062 kB / 460.9 MB, free: 2.043 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches