Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",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.001702/0.001702, allocations: 104.5 kB / 15.98 MB, free: 6.332 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.002197/0.002197, allocations: 195.1 kB / 16.91 MB, free: 6.18 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.365/1.365, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3109/0.3109, allocations: 43.49 MB / 313.6 MB, free: 8.5 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.001456/0.001456, allocations: 71.91 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09956, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.00274/0.1023, allocations: 1.61 MB / 441.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005531/0.1029, allocations: 327.5 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.103, allocations: 0 / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.1032, allocations: 19.91 kB / 442.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.1033, allocations: 27.92 kB / 442.1 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1036, allocations: 79.83 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1037, allocations: 55.84 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.1038, allocations: 24.25 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.1038, allocations: 19.88 kB / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.1039, allocations: 19.91 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1039, allocations: 4 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.104, allocations: 31.98 kB / 442.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.104, allocations: 11.94 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.104, allocations: 15.88 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.1042, allocations: 83.66 kB / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1042, allocations: 0 / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1042, allocations: 0 / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1042, allocations: 4 kB / 442.4 MB, free: 12.3 MB / 382.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.0003784/0.1046, allocations: 379.1 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1046, allocations: 11.89 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1047, allocations: 38.75 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.1047, allocations: 4.844 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1049, allocations: 184.3 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1049, allocations: 4.375 kB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.1049, allocations: 384 / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.105, allocations: 61.56 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1051, allocations: 0 / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1051, allocations: 4 kB / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1051, allocations: 3.984 kB / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.1052, allocations: 23.98 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.1055, allocations: 276.8 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1057, allocations: 54.48 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.1057, allocations: 16.94 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1058, allocations: 4 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.1058, allocations: 30.56 kB / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1058, allocations: 0 / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004859/0.1063, allocations: 153.3 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.1063, allocations: 59.34 kB / 443.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1064, allocations: 141.9 kB / 443.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1064, allocations: 25.7 kB / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.1065, allocations: 92.12 kB / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1065, allocations: 23.66 kB / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.1066, allocations: 17.72 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.1067, allocations: 326.8 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.1067, allocations: 19.98 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.1068, allocations: 19.98 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1069, allocations: 56.75 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1069, allocations: 0 / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000169/0.1071, allocations: 85.8 kB / 444.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1071, allocations: 8 kB / 444.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1071, allocations: 0 / 444.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1071, allocations: 4 kB / 444.5 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.1072, allocations: 11.98 kB / 444.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1072, allocations: 0 / 444.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.1073, allocations: 11.91 kB / 444.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1073, allocations: 3.938 kB / 444.5 MB, free: 9.957 MB / 382.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.49e-05/0.1073, allocations: 117.8 kB / 444.7 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1074, allocations: 4 kB / 444.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.1076, allocations: 101.9 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1076, allocations: 0 / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1076, allocations: 3.984 kB / 444.8 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.1076, allocations: 0 / 444.8 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.108, allocations: 346.4 kB / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.108, allocations: 0 / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.1081, allocations: 27.92 kB / 445.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1081, allocations: 0 / 445.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1081, allocations: 0 / 445.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1081, allocations: 3.938 kB / 445.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1081, allocations: 0 / 445.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.1083, allocations: 179.7 kB / 445.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.1083, allocations: 85.11 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1084, allocations: 4 kB / 445.4 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.1084, allocations: 11.92 kB / 445.4 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.1085, allocations: 4 kB / 445.4 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1085, allocations: 0 / 445.4 MB, free: 8.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.587e-05/0.1085, allocations: 111.2 kB / 445.5 MB, free: 8.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1085, allocations: 0 / 445.5 MB, free: 8.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1088, allocations: 16 kB / 445.5 MB, free: 8.852 MB / 382.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.001159/0.1099, allocations: 1.021 MB / 446.6 MB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1101, allocations: 55.91 kB / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.1101, allocations: 0 / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.1102, allocations: 35.97 kB / 446.6 MB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.1105, allocations: 15.8 kB / 446.7 MB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1118, allocations: 1.437 MB / 448.1 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.112, allocations: 0.7001 MB / 448.8 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.1121, allocations: 19.98 kB / 448.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.1121, allocations: 23.44 kB / 448.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1121, allocations: 0 / 448.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2219/0.334, allocations: 2.292 MB / 451.1 MB, free: 3.141 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.3342, allocations: 238.7 kB / 451.4 MB, free: 2.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/2.504, allocations: 3.938 kB / 451.4 MB, free: 2.875 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches