Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",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.001664/0.001664, allocations: 103.5 kB / 15.98 MB, free: 5.898 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.00205/0.00205, allocations: 192.1 kB / 16.91 MB, free: 5.746 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.495/1.495, allocations: 205.1 MB / 222.7 MB, free: 12.45 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.2098/0.2098, allocations: 43.52 MB / 313.6 MB, free: 0.7031 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.001423/0.001423, allocations: 67.91 kB / 382.3 MB, free: 56.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09415, allocations: 57.79 MB / 440.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.002455/0.09664, allocations: 1.658 MB / 441.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004254/0.09709, allocations: 331.5 kB / 442.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.09714, allocations: 0 / 442.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.09737, allocations: 71.83 kB / 442.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.09755, allocations: 51.88 kB / 442.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.09779, allocations: 106.5 kB / 442.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.09791, allocations: 71.84 kB / 442.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.09801, allocations: 20.11 kB / 442.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.09806, allocations: 39.83 kB / 442.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.09814, allocations: 47.83 kB / 442.5 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.09816, allocations: 4 kB / 442.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.062e-05/0.09822, allocations: 31.98 kB / 442.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.09829, allocations: 27.91 kB / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.09833, allocations: 31.75 kB / 442.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.09845, allocations: 99.69 kB / 442.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.09846, allocations: 0 / 442.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09846, allocations: 0 / 442.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.09847, allocations: 0 / 442.7 MB, free: 4.66 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.0003782/0.09885, allocations: 418.9 kB / 443.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.0989, allocations: 15.89 kB / 443.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.579e-05/0.09893, allocations: 34.75 kB / 443.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.09896, allocations: 16.75 kB / 443.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.09908, allocations: 196.8 kB / 443.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.0991, allocations: 384 / 443.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.09912, allocations: 8.125 kB / 443.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.09926, allocations: 61.66 kB / 443.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.09928, allocations: 0 / 443.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.09929, allocations: 0 / 443.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.0993, allocations: 3.938 kB / 443.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.09942, allocations: 39.91 kB / 443.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.09968, allocations: 296.8 kB / 443.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.09979, allocations: 42.56 kB / 443.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.09985, allocations: 24.94 kB / 443.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.09988, allocations: 4 kB / 443.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.0999, allocations: 34.5 kB / 443.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.09991, allocations: 0 / 443.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006325/0.1005, allocations: 213.2 kB / 444.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.1006, allocations: 59.41 kB / 444.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1007, allocations: 204.9 kB / 444.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.1007, allocations: 29.7 kB / 444.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.1008, allocations: 104.1 kB / 444.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.1008, allocations: 31.7 kB / 444.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.1008, allocations: 17.72 kB / 444.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.1009, allocations: 326.8 kB / 444.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.101, allocations: 31.97 kB / 444.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/0.1011, allocations: 35.97 kB / 444.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1012, allocations: 68.81 kB / 445 MB, free: 2.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1012, allocations: 0 / 445 MB, free: 2.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002165/0.1015, allocations: 121.4 kB / 445.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1015, allocations: 8 kB / 445.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1015, allocations: 48 / 445.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1015, allocations: 3.984 kB / 445.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1016, allocations: 15.98 kB / 445.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1016, allocations: 7.938 kB / 445.1 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.1017, allocations: 11.98 kB / 445.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1017, allocations: 8 kB / 445.1 MB, free: 1.98 MB / 318.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 5.548e-05/0.1018, allocations: 129.8 kB / 445.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.1018, allocations: 11.91 kB / 445.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.1021, allocations: 131.2 kB / 445.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1021, allocations: 4 kB / 445.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1021, allocations: 3.938 kB / 445.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1021, allocations: 4 kB / 445.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.1025, allocations: 386.5 kB / 445.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1025, allocations: 3.938 kB / 445.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.1026, allocations: 27.92 kB / 445.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1026, allocations: 3.938 kB / 445.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1026, allocations: 0 / 445.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1026, allocations: 8 kB / 445.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1026, allocations: 0 / 445.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1028, allocations: 207.3 kB / 446 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.1029, allocations: 89 kB / 446.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1029, allocations: 3.938 kB / 446.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.103, allocations: 19.98 kB / 446.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.103, allocations: 4 kB / 446.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.103, allocations: 0 / 446.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.256e-05/0.1031, allocations: 160.9 kB / 446.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1031, allocations: 0 / 446.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.1034, allocations: 19.98 kB / 446.3 MB, free: 0.6836 MB / 318.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.001191/0.1045, allocations: 1.05 MB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.1048, allocations: 79.88 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1048, allocations: 4 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1049, allocations: 43.91 kB / 447.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.1053, allocations: 18.02 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.1071, allocations: 1.707 MB / 449.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.1073, allocations: 0.709 MB / 449.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.1074, allocations: 16.95 kB / 449.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.1075, allocations: 27.42 kB / 450 MB, free: 12.99 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1075, allocations: 4 kB / 450 MB, free: 12.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.1197, allocations: 2.83 MB / 452.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.1201, allocations: 240.2 kB / 453 MB, free: 9.902 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.163, allocations: 0 / 453 MB, free: 9.902 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches