Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.001167/0.001167, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001162/0.001162, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 71.94 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09304, allocations: 60.81 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00275/0.09583, allocations: 1.561 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.09721, allocations: 1.02 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.09728, allocations: 4 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.09747, allocations: 23.84 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.09768, allocations: 43.78 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.09797, allocations: 107.6 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.0981, allocations: 55.84 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.0982, allocations: 19.98 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.09825, allocations: 15.94 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.09839, allocations: 32.53 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.09841, allocations: 7.938 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.09852, allocations: 51.97 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.09857, allocations: 7.938 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.09861, allocations: 23.86 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.09878, allocations: 92.05 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09879, allocations: 4 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0988, allocations: 3.938 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.09881, allocations: 0 / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004202/0.09924, allocations: 375.3 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.09927, allocations: 12.03 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.755e-05/0.09931, allocations: 30.75 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.09935, allocations: 8.844 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.09951, allocations: 192.1 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.09953, allocations: 384 / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.09956, allocations: 4.375 kB / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.0997, allocations: 67.34 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.09972, allocations: 0 / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.09974, allocations: 3.984 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.09974, allocations: 3.938 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.271e-05/0.09984, allocations: 27.97 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.1002, allocations: 284.8 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.1004, allocations: 38.56 kB / 473.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.1004, allocations: 20.94 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.1005, allocations: 0 / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.1005, allocations: 34.56 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.1005, allocations: 4 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005258/0.101, allocations: 153.3 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1011, allocations: 81.11 kB / 473.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1012, allocations: 140.9 kB / 473.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1012, allocations: 25.7 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.1013, allocations: 92.08 kB / 474 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1013, allocations: 23.78 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1014, allocations: 21.72 kB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.1015, allocations: 314.8 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.1015, allocations: 23.97 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.1016, allocations: 37.7 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1018, allocations: 48.86 kB / 474.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1018, allocations: 0 / 474.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000195/0.102, allocations: 89.56 kB / 474.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.102, allocations: 4 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.102, allocations: 3.938 kB / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.102, allocations: 0 / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.599e-05/0.1021, allocations: 15.98 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1021, allocations: 0 / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.1022, allocations: 8 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1022, allocations: 7.938 kB / 474.6 MB, free: 8.773 MB / 350.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 7.308e-05/0.1023, allocations: 113.8 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.1023, allocations: 11.89 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.1026, allocations: 93.56 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1026, allocations: 0 / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1026, allocations: 7.938 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1026, allocations: 0 / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.103, allocations: 350.8 kB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.103, allocations: 8 kB / 475.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.1031, allocations: 15.98 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1031, allocations: 0 / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1031, allocations: 0 / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1031, allocations: 3.938 kB / 475.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1031, allocations: 4 kB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1034, allocations: 183.4 kB / 475.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1034, allocations: 85.02 kB / 475.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1035, allocations: 4 kB / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.1035, allocations: 11.92 kB / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1036, allocations: 0 / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1036, allocations: 4 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.1037, allocations: 103.3 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1037, allocations: 0 / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.104, allocations: 27.98 kB / 475.6 MB, free: 7.66 MB / 350.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.0014/0.1054, allocations: 1.052 MB / 476.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.1056, allocations: 47.97 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1056, allocations: 0 / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.483e-05/0.1057, allocations: 35.91 kB / 476.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.106, allocations: 19.94 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1075, allocations: 1.396 MB / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1078, allocations: 0.6939 MB / 478.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.601e-05/0.1078, allocations: 20.05 kB / 478.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.1079, allocations: 23.42 kB / 478.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1079, allocations: 4 kB / 478.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.1274, allocations: 2.679 MB / 481.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.736, allocations: 19.22 kB / 481.6 MB, free: 1.785 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches