Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",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.001053/0.001053, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001292/0.001293, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.406/1.406, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2017/0.2017, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 56.16 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.09981, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002843/0.1027, allocations: 1.552 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006747/0.1034, allocations: 407.2 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.1035, allocations: 4 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1037, allocations: 23.86 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.1039, allocations: 35.84 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1041, allocations: 110.2 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1043, allocations: 63.84 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1044, allocations: 11.98 kB / 471.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.1044, allocations: 19.92 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.1045, allocations: 19.86 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1045, allocations: 4 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.1046, allocations: 31.92 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.1047, allocations: 19.92 kB / 471.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.1047, allocations: 19.88 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1048, allocations: 76.06 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1049, allocations: 0 / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1049, allocations: 0 / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1049, allocations: 7.875 kB / 471.8 MB, free: 11.88 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.0004302/0.1053, allocations: 387.1 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1054, allocations: 8.031 kB / 472.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1054, allocations: 30.75 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.1054, allocations: 8.844 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.1056, allocations: 188.2 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1056, allocations: 4.375 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.1057, allocations: 4.375 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1058, allocations: 53.62 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1058, allocations: 0 / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1058, allocations: 0 / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1058, allocations: 0 / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.1059, allocations: 23.97 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.1063, allocations: 288.8 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.1065, allocations: 42.56 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.1066, allocations: 16.94 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1066, allocations: 4 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1066, allocations: 30.56 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1066, allocations: 4 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005563/0.1072, allocations: 153.3 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1073, allocations: 51.41 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1074, allocations: 156.1 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1074, allocations: 25.7 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.1075, allocations: 96.12 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.1075, allocations: 15.75 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.1075, allocations: 29.64 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1077, allocations: 318.8 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.1077, allocations: 23.92 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.1078, allocations: 23.97 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1079, allocations: 52.83 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.108, allocations: 192 / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001719/0.1081, allocations: 89.58 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1082, allocations: 8 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1082, allocations: 0 / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1082, allocations: 3.984 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.1083, allocations: 8 kB / 473.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1083, allocations: 3.938 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.1084, allocations: 11.92 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.1084, allocations: 4 kB / 473.9 MB, free: 9.52 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 0.0001099/0.1085, allocations: 117.8 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1085, allocations: 7.906 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.1088, allocations: 101.9 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1088, allocations: 3.938 kB / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1088, allocations: 0 / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1088, allocations: 3.938 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.1092, allocations: 354.5 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1092, allocations: 0 / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.1093, allocations: 12 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1093, allocations: 0 / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1093, allocations: 3.938 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1093, allocations: 3.984 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1093, allocations: 0 / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1096, allocations: 187.9 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.1096, allocations: 85 kB / 474.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1096, allocations: 15.92 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.09e-05/0.1097, allocations: 0 / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1098, allocations: 7.984 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1098, allocations: 4 kB / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.913e-05/0.1099, allocations: 115.3 kB / 474.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1099, allocations: 4 kB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1101, allocations: 15.98 kB / 474.9 MB, free: 8.391 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.001279/0.1114, allocations: 1.009 MB / 475.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1116, allocations: 67.83 kB / 476 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1116, allocations: 0 / 476 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.1117, allocations: 23.98 kB / 476 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.112, allocations: 15.98 kB / 476 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.1135, allocations: 1.453 MB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1137, allocations: 0.7002 MB / 478.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.952e-05/0.1138, allocations: 11.98 kB / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.1138, allocations: 19.44 kB / 478.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1139, allocations: 3.938 kB / 478.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.1335, allocations: 2.461 MB / 480.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.186, allocations: 7.922 kB / 480.7 MB, free: 2.715 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches