Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001158/0.001158, allocations: 96.14 kB / 15.87 MB, free: 16 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.001148/0.001148, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.37/1.37, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.2932/0.2932, allocations: 43.5 MB / 313.5 MB, free: 8.551 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.001408/0.001408, allocations: 70.56 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 57.79 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002902/0.1195, allocations: 1.606 MB / 441.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1207, allocations: 0.918 MB / 442.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.1207, allocations: 4 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.1209, allocations: 15.92 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1211, allocations: 39.84 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.1213, allocations: 63.92 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1214, allocations: 51.84 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.1215, allocations: 16.25 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.1215, allocations: 23.86 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1217, allocations: 27.91 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1217, allocations: 4 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.1218, allocations: 43.92 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.1219, allocations: 15.92 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.1219, allocations: 19.86 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1221, allocations: 87.72 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1221, allocations: 0 / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1221, allocations: 0 / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1221, allocations: 0 / 442.9 MB, free: 11.79 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.0004551/0.1226, allocations: 379.2 kB / 443.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1226, allocations: 12.03 kB / 443.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.1226, allocations: 34.75 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.1227, allocations: 0.9375 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1229, allocations: 196.1 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1229, allocations: 8.25 kB / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.1229, allocations: 8.375 kB / 443.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1231, allocations: 59.34 kB / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1231, allocations: 0 / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1231, allocations: 7.984 kB / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1231, allocations: 0 / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.071e-05/0.1232, allocations: 23.98 kB / 443.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.1235, allocations: 272.8 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1237, allocations: 42.56 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.1238, allocations: 16.86 kB / 443.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1238, allocations: 0 / 443.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1238, allocations: 34.64 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1238, allocations: 0 / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004964/0.1243, allocations: 141.4 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1244, allocations: 81.11 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1245, allocations: 133.8 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1245, allocations: 29.7 kB / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.1246, allocations: 88.05 kB / 444.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1246, allocations: 15.81 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.1246, allocations: 21.7 kB / 444.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1247, allocations: 314.8 kB / 444.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.1248, allocations: 23.98 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.1249, allocations: 33.64 kB / 444.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.125, allocations: 48.83 kB / 444.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.125, allocations: 0 / 444.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001642/0.1252, allocations: 77.77 kB / 444.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1252, allocations: 7.938 kB / 444.9 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1252, allocations: 12.08 kB / 444.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.1252, allocations: 0 / 444.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.1253, allocations: 12 kB / 444.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1253, allocations: 3.938 kB / 444.9 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.1253, allocations: 7.984 kB / 445 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1254, allocations: 3.938 kB / 445 MB, free: 9.43 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.46e-05/0.1254, allocations: 117.8 kB / 445.1 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.1255, allocations: 4 kB / 445.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.1257, allocations: 93.53 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1257, allocations: 0 / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.1257, allocations: 4 kB / 445.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1257, allocations: 0 / 445.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.1261, allocations: 342.4 kB / 445.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1261, allocations: 0 / 445.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.015e-05/0.1261, allocations: 19.98 kB / 445.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1261, allocations: 3.938 kB / 445.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1262, allocations: 4 kB / 445.5 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1262, allocations: 3.938 kB / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1262, allocations: 0 / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1264, allocations: 175.4 kB / 445.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.1264, allocations: 81.11 kB / 445.8 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.1264, allocations: 8.172 kB / 445.8 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.1265, allocations: 11.94 kB / 445.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.1266, allocations: 0 / 445.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1266, allocations: 7.984 kB / 445.8 MB, free: 8.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.163e-05/0.1266, allocations: 99.27 kB / 445.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1266, allocations: 0 / 445.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.1269, allocations: 24 kB / 445.9 MB, free: 8.344 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.001261/0.1281, allocations: 1.048 MB / 447 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.1283, allocations: 47.91 kB / 447 MB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1283, allocations: 0 / 447 MB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/0.1284, allocations: 23.98 kB / 447.1 MB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1287, allocations: 23.78 kB / 447.1 MB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1301, allocations: 1.402 MB / 448.5 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1303, allocations: 0.6887 MB / 449.2 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.1304, allocations: 4 kB / 449.2 MB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.1304, allocations: 23.42 kB / 449.2 MB, free: 4.996 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1304, allocations: 4 kB / 449.2 MB, free: 4.992 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1436, allocations: 2.501 MB / 451.7 MB, free: 2.469 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.1438, allocations: 245.8 kB / 451.9 MB, free: 2.203 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/1.933, allocations: 0 / 451.9 MB, free: 2.203 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches