Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",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.0009228/0.0009227, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 184.5 kB / 16.92 MB, free: 6.688 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.798/1.798, allocations: 205.4 MB / 223.1 MB, free: 5.574 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.377/0.377, allocations: 43.58 MB / 315 MB, free: 9.051 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.0004956/0.0004959, allocations: 16 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1238, allocations: 58.85 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002094/0.1259, allocations: 1.279 MB / 444.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.1266, allocations: 311.6 kB / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.509e-05/0.1267, allocations: 4 kB / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.1269, allocations: 19.91 kB / 445.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.127, allocations: 27.86 kB / 445.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.1273, allocations: 83.89 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.1274, allocations: 51.84 kB / 445.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1275, allocations: 20.25 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.1276, allocations: 15.88 kB / 445.3 MB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.1276, allocations: 19.91 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1277, allocations: 4 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.1277, allocations: 24 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.1278, allocations: 15.86 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.1278, allocations: 41.58 kB / 445.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.128, allocations: 79.7 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.128, allocations: 0 / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.128, allocations: 0 / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.128, allocations: 4 kB / 445.5 MB, free: 10.81 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.0004269/0.1285, allocations: 375.3 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1285, allocations: 8.031 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1286, allocations: 30.75 kB / 445.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.1286, allocations: 8.844 kB / 445.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1288, allocations: 188.2 kB / 446.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1288, allocations: 384 / 446.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1288, allocations: 8.312 kB / 446.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.129, allocations: 57.62 kB / 446.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.129, allocations: 0 / 446.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.129, allocations: 7.969 kB / 446.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.129, allocations: 0 / 446.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.1291, allocations: 27.98 kB / 446.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1295, allocations: 280.9 kB / 446.5 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.1297, allocations: 46.5 kB / 446.5 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.1298, allocations: 20.94 kB / 446.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1298, allocations: 0 / 446.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1298, allocations: 34.56 kB / 446.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.1298, allocations: 0 / 446.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005772/0.1304, allocations: 173.2 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.1305, allocations: 51.41 kB / 446.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1306, allocations: 138.1 kB / 447 MB, free: 9.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1306, allocations: 33.64 kB / 447 MB, free: 9.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.1307, allocations: 96.11 kB / 447.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1307, allocations: 15.75 kB / 447.1 MB, free: 9.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.1308, allocations: 13.72 kB / 447.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1309, allocations: 326.8 kB / 447.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.131, allocations: 27.98 kB / 447.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.131, allocations: 28.05 kB / 447.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1312, allocations: 64.7 kB / 447.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1312, allocations: 0 / 447.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001844/0.1314, allocations: 93.56 kB / 447.6 MB, free: 8.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1314, allocations: 8 kB / 447.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1314, allocations: 0 / 447.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1314, allocations: 0 / 447.6 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.1315, allocations: 19.98 kB / 447.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1315, allocations: 0 / 447.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.1316, allocations: 8 kB / 447.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1316, allocations: 7.938 kB / 447.7 MB, free: 8.422 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 8.456e-05/0.1317, allocations: 121.8 kB / 447.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1317, allocations: 7.906 kB / 447.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.132, allocations: 102 kB / 447.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.132, allocations: 0 / 447.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.132, allocations: 0 / 447.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.132, allocations: 3.984 kB / 447.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.1324, allocations: 362.5 kB / 448.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1324, allocations: 0 / 448.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.1325, allocations: 16.3 kB / 448.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1325, allocations: 0 / 448.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1325, allocations: 4 kB / 448.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1325, allocations: 7.938 kB / 448.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1325, allocations: 0 / 448.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1328, allocations: 187.4 kB / 448.5 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.1328, allocations: 89.02 kB / 448.6 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1329, allocations: 0 / 448.6 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.1329, allocations: 15.86 kB / 448.6 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.133, allocations: 8 kB / 448.6 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.133, allocations: 0 / 448.6 MB, free: 7.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.293e-05/0.1331, allocations: 114.5 kB / 448.7 MB, free: 7.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1331, allocations: 0 / 448.7 MB, free: 7.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1333, allocations: 16 kB / 448.7 MB, free: 7.281 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.001309/0.1346, allocations: 1.025 MB / 449.7 MB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1348, allocations: 63.91 kB / 449.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1348, allocations: 0 / 449.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.1349, allocations: 31.97 kB / 449.8 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.1352, allocations: 19.92 kB / 449.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1368, allocations: 1.459 MB / 451.3 MB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1371, allocations: 0.6965 MB / 452 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.1371, allocations: 12.22 kB / 452 MB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.1372, allocations: 23.38 kB / 452 MB, free: 3.852 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1372, allocations: 0 / 452 MB, free: 3.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.1484, allocations: 2.064 MB / 454.1 MB, free: 1.785 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/0.1487, allocations: 230.1 kB / 454.3 MB, free: 1.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.835, allocations: 3.938 kB / 454.3 MB, free: 1.527 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches