Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008345/0.0008346, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007161/0.0007161, allocations: 84.86 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2726/0.2726, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/0.09251, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.001924/0.09447, allocations: 1.675 MB / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.09561, allocations: 0.9292 MB / 493.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.0957, allocations: 4 kB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.09588, allocations: 35.77 kB / 493.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.09614, allocations: 135.5 kB / 493.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.09689, allocations: 367.4 kB / 494.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.09714, allocations: 239.1 kB / 494.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.09727, allocations: 72.48 kB / 494.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.09742, allocations: 107.5 kB / 494.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.09762, allocations: 163.4 kB / 494.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.09765, allocations: 4 kB / 494.6 MB, free: 6.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/0.09774, allocations: 35.98 kB / 494.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.09787, allocations: 135.6 kB / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.09801, allocations: 176.5 kB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.09825, allocations: 271.8 kB / 495.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.09827, allocations: 0 / 495.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.09828, allocations: 8 kB / 495.2 MB, free: 6.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.09829, allocations: 0 / 495.2 MB, free: 6.199 MB / 378.7 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.0008233/0.09912, allocations: 0.7309 MB / 496 MB, free: 5.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.09916, allocations: 8.031 kB / 496 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.09921, allocations: 46.73 kB / 496 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.09928, allocations: 52.28 kB / 496.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.09975, allocations: 463.7 kB / 496.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.09977, allocations: 8.375 kB / 496.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.0998, allocations: 11.94 kB / 496.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.1001, allocations: 147.3 kB / 496.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1001, allocations: 7.906 kB / 496.7 MB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1001, allocations: 4 kB / 496.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1001, allocations: 4 kB / 496.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.1004, allocations: 123.8 kB / 496.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.1013, allocations: 0.6723 MB / 497.5 MB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1015, allocations: 129.2 kB / 497.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1017, allocations: 73.75 kB / 497.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1017, allocations: 7.984 kB / 497.7 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.1017, allocations: 38.5 kB / 497.8 MB, free: 3.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1017, allocations: 0 / 497.8 MB, free: 3.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.00187/0.1036, allocations: 0.7481 MB / 498.5 MB, free: 2.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1037, allocations: 81.05 kB / 498.6 MB, free: 2.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008459/0.1045, allocations: 0.8701 MB / 499.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1046, allocations: 29.7 kB / 499.5 MB, free: 1.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1047, allocations: 272.2 kB / 499.7 MB, free: 1.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.1048, allocations: 59.11 kB / 499.8 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.1048, allocations: 4 kB / 499.8 MB, free: 1.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1049, allocations: 374.7 kB / 0.4884 GB, free: 1.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.1052, allocations: 103.9 kB / 0.4885 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.1055, allocations: 125.6 kB / 0.4887 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.106, allocations: 245.7 kB / 0.4889 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.106, allocations: 0 / 0.4889 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006345/0.1067, allocations: 340.7 kB / 0.4892 GB, free: 204 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1067, allocations: 4 kB / 0.4892 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1067, allocations: 0 / 0.4892 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1067, allocations: 224 / 0.4892 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.107, allocations: 63.95 kB / 0.4893 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.107, allocations: 3.938 kB / 0.4893 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1072, allocations: 31.97 kB / 0.4893 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.1072, allocations: 8 kB / 0.4893 GB, free: 92 kB / 378.7 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1583/0.2655, allocations: 211.4 kB / 0.4895 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2657, allocations: 52 kB / 0.4896 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008856/0.2666, allocations: 385.7 kB / 0.49 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2666, allocations: 6.594 kB / 0.49 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2666, allocations: 0.9375 kB / 0.49 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2666, allocations: 8.219 kB / 0.49 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.2679, allocations: 0.9058 MB / 0.4909 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2679, allocations: 4.719 kB / 0.4909 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.2682, allocations: 69 kB / 0.4909 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2682, allocations: 1.281 kB / 0.4909 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2682, allocations: 5.641 kB / 0.4909 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.2683, allocations: 2.797 kB / 0.4909 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2683, allocations: 1.469 kB / 0.4909 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/0.269, allocations: 0.5061 MB / 0.4914 GB, free: 42.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2691, allocations: 148.4 kB / 0.4916 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.2692, allocations: 6.062 kB / 0.4916 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.2694, allocations: 31.2 kB / 0.4916 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.2695, allocations: 21.3 kB / 0.4916 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.2695, allocations: 7.047 kB / 0.4916 GB, free: 42.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007241/0.2703, allocations: 0.6381 MB / 0.4923 GB, free: 41.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2703, allocations: 1.094 kB / 0.4923 GB, free: 41.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003579/0.2706, allocations: 60.7 kB / 0.4923 GB, free: 41.99 MB / 378.7 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/0.2722, allocations: 1.349 MB / 0.4936 GB, free: 41.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.2728, allocations: 251.7 kB / 0.4939 GB, free: 41.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2728, allocations: 0 / 0.4939 GB, free: 41.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.2731, allocations: 143.9 kB / 0.494 GB, free: 41.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.2737, allocations: 69.25 kB / 0.4941 GB, free: 41.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.2784, allocations: 3.374 MB / 0.4974 GB, free: 40.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.2787, allocations: 0.8564 MB / 0.4982 GB, free: 39.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.2789, allocations: 186.7 kB / 0.4984 GB, free: 39.43 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2789, allocations: 0 / 0.4984 GB, free: 39.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.805/3.084, allocations: 7.508 MB / 0.5057 GB, free: 38.63 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches