Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001279/0.001279, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001376/0.001376, allocations: 194 kB / 18.12 MB, free: 5.363 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.524/1.524, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2095/0.2095, allocations: 44.16 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 56.53 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1145, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003509/0.118, allocations: 1.636 MB / 470.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000796/0.1188, allocations: 415.3 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.1189, allocations: 0 / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1192, allocations: 75.83 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.1194, allocations: 51.81 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1197, allocations: 103.8 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1199, allocations: 59.89 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.12, allocations: 24.16 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.1201, allocations: 27.86 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1202, allocations: 55.75 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1202, allocations: 8 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1203, allocations: 39.98 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.1204, allocations: 23.86 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.1205, allocations: 31.8 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1206, allocations: 91.94 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1206, allocations: 0 / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1207, allocations: 0 / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1207, allocations: 0 / 471.3 MB, free: 12.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005173/0.1212, allocations: 407.1 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1212, allocations: 16.03 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.1213, allocations: 30.75 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.1213, allocations: 8.844 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.1215, allocations: 204 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1215, allocations: 4.375 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1216, allocations: 12.03 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1217, allocations: 53.67 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1217, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1217, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1218, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.19e-05/0.1219, allocations: 27.98 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.1223, allocations: 308.7 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1224, allocations: 46.55 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.1224, allocations: 20.94 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1225, allocations: 8 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.1225, allocations: 30.56 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1225, allocations: 0 / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008714/0.1234, allocations: 237 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.1234, allocations: 59.34 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1236, allocations: 206.2 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1236, allocations: 29.7 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.1237, allocations: 108 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1237, allocations: 23.66 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.1238, allocations: 25.7 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1239, allocations: 318.8 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.124, allocations: 35.97 kB / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.1241, allocations: 27.98 kB / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1242, allocations: 72.88 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1242, allocations: 0 / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002299/0.1245, allocations: 117.4 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1245, allocations: 4 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1245, allocations: 4 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1245, allocations: 0 / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.1246, allocations: 19.98 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1247, allocations: 3.938 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.1247, allocations: 15.92 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1247, allocations: 0 / 473.7 MB, free: 9.449 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 (8): * Single equations (assignments): 8 * 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.991e-05/0.1248, allocations: 125.8 kB / 473.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.1249, allocations: 11.89 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.1252, allocations: 134.6 kB / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1252, allocations: 0 / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1252, allocations: 3.938 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1252, allocations: 0 / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.1257, allocations: 423.3 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1257, allocations: 7.969 kB / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.1258, allocations: 19.98 kB / 474.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1258, allocations: 0 / 474.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1258, allocations: 0 / 474.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1259, allocations: 4 kB / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1259, allocations: 0 / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.1261, allocations: 216.2 kB / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.1262, allocations: 88.94 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.1262, allocations: 4 kB / 474.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.1263, allocations: 8 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1263, allocations: 3.984 kB / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1264, allocations: 4 kB / 474.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1265, allocations: 159.2 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1265, allocations: 0 / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1268, allocations: 28 kB / 474.9 MB, free: 8.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001542/0.1283, allocations: 1.09 MB / 476 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.1286, allocations: 75.94 kB / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1286, allocations: 3.938 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.574e-05/0.1287, allocations: 39.92 kB / 476.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.129, allocations: 25.88 kB / 476.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.1309, allocations: 1.7 MB / 477.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1312, allocations: 0.708 MB / 478.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.13e-05/0.1313, allocations: 24.95 kB / 478.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.1314, allocations: 31.42 kB / 478.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1314, allocations: 4 kB / 478.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.1448, allocations: 2.826 MB / 481.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.145, allocations: 246 kB / 481.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/1.979, allocations: 0 / 481.7 MB, free: 1.465 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches