Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29",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.005967/0.005966, allocations: 100.4 kB / 15.87 MB, free: 6.309 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.001286/0.001286, allocations: 193.2 kB / 16.79 MB, free: 6.238 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.278/1.278, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3021/0.3021, allocations: 43.5 MB / 313.5 MB, free: 8.223 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.00143/0.00143, allocations: 74.55 kB / 382.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1082, allocations: 57.77 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002742/0.111, allocations: 1.633 MB / 441.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000599/0.1116, allocations: 315.6 kB / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.1117, allocations: 0 / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.1119, allocations: 31.91 kB / 441.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.112, allocations: 35.89 kB / 441.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.1122, allocations: 63.88 kB / 442 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1124, allocations: 71.77 kB / 442.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1125, allocations: 20.39 kB / 442.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.1126, allocations: 23.91 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.1126, allocations: 31.84 kB / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1127, allocations: 0 / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-05/0.1127, allocations: 32 kB / 442.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.1128, allocations: 19.91 kB / 442.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.1128, allocations: 27.81 kB / 442.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.113, allocations: 71.78 kB / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.113, allocations: 0 / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.113, allocations: 3.938 kB / 442.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.113, allocations: 3.938 kB / 442.3 MB, free: 12.12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004868/0.1135, allocations: 399.2 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1136, allocations: 12.03 kB / 442.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.1136, allocations: 34.73 kB / 442.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.1136, allocations: 16.75 kB / 442.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.1138, allocations: 184.2 kB / 442.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.1139, allocations: 4.375 kB / 442.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1139, allocations: 8.125 kB / 442.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.114, allocations: 61.61 kB / 443 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1141, allocations: 0 / 443 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1141, allocations: 0 / 443 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1141, allocations: 0 / 443 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1142, allocations: 35.95 kB / 443 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.1146, allocations: 300.7 kB / 443.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1147, allocations: 50.5 kB / 443.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.1148, allocations: 24.97 kB / 443.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1148, allocations: 0 / 443.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1148, allocations: 34.56 kB / 443.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1148, allocations: 0 / 443.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006381/0.1155, allocations: 173.6 kB / 443.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1155, allocations: 51.41 kB / 443.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1157, allocations: 161.2 kB / 443.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1157, allocations: 25.7 kB / 443.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.1158, allocations: 100.1 kB / 443.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1158, allocations: 31.55 kB / 444 MB, free: 10.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1158, allocations: 21.72 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.116, allocations: 318.8 kB / 444.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.116, allocations: 24.05 kB / 444.3 MB, free: 9.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.1161, allocations: 27.98 kB / 444.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1163, allocations: 68.83 kB / 444.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1163, allocations: 0 / 444.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001976/0.1165, allocations: 97.56 kB / 444.5 MB, free: 9.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1165, allocations: 11.94 kB / 444.5 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1165, allocations: 0 / 444.5 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1165, allocations: 0 / 444.5 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1167, allocations: 15.98 kB / 444.5 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1167, allocations: 3.938 kB / 444.5 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.1167, allocations: 4 kB / 444.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1167, allocations: 8 kB / 444.5 MB, free: 9.625 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 (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.586e-05/0.1168, allocations: 125.8 kB / 444.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1169, allocations: 7.906 kB / 444.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.1171, allocations: 110.4 kB / 444.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1171, allocations: 3.938 kB / 444.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1171, allocations: 7.938 kB / 444.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1171, allocations: 4 kB / 444.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.1176, allocations: 382.8 kB / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1176, allocations: 0 / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.1177, allocations: 19.92 kB / 445.2 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1177, allocations: 4 kB / 445.2 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1177, allocations: 4 kB / 445.2 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1177, allocations: 0 / 445.2 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1177, allocations: 4 kB / 445.2 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.1179, allocations: 203.4 kB / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.118, allocations: 88.94 kB / 445.5 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.118, allocations: 4 kB / 445.5 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.1181, allocations: 0 / 445.5 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1181, allocations: 11.98 kB / 445.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.1182, allocations: 12 kB / 445.5 MB, free: 8.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.024e-05/0.1182, allocations: 115.2 kB / 445.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1182, allocations: 0 / 445.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1185, allocations: 16 kB / 445.6 MB, free: 8.422 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 (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.001265/0.1198, allocations: 1.035 MB / 446.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.12, allocations: 67.94 kB / 446.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.12, allocations: 0 / 446.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.1201, allocations: 31.92 kB / 446.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1204, allocations: 15.98 kB / 446.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.1219, allocations: 1.524 MB / 448.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.1222, allocations: 0.6965 MB / 449 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.899e-05/0.1222, allocations: 20.97 kB / 449 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.1223, allocations: 23.42 kB / 449.1 MB, free: 4.914 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1223, allocations: 0 / 449.1 MB, free: 4.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.1339, allocations: 2.425 MB / 451.5 MB, free: 2.461 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/0.1342, allocations: 249 kB / 451.7 MB, free: 2.191 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/1.827, allocations: 0 / 451.7 MB, free: 2.191 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches