Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",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.001517/0.001517, allocations: 104 kB / 17.32 MB, free: 5.984 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.002059/0.002059, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.476/1.476, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2221/0.2221, allocations: 44.18 MB / 336.2 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 59.84 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 60.83 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.004318/0.1188, allocations: 1.61 MB / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.1196, allocations: 411.3 kB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.1196, allocations: 0 / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.1199, allocations: 19.92 kB / 470.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1201, allocations: 35.91 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1204, allocations: 99.75 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1206, allocations: 55.84 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1207, allocations: 23.92 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.1208, allocations: 15.92 kB / 471.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.157e-05/0.1209, allocations: 27.84 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1209, allocations: 0 / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.121, allocations: 28 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.121, allocations: 15.92 kB / 471.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.1211, allocations: 23.81 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1213, allocations: 80.05 kB / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1213, allocations: 4 kB / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1213, allocations: 7.938 kB / 471.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1213, allocations: 0 / 471.3 MB, free: 12.19 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.0004697/0.1218, allocations: 383.1 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1218, allocations: 8.031 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.1219, allocations: 38.75 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.1219, allocations: 8.844 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1221, allocations: 183.1 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1221, allocations: 4.375 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1221, allocations: 12.36 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1223, allocations: 49.62 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1223, allocations: 0 / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.1223, allocations: 3.938 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1223, allocations: 7.938 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.634e-05/0.1224, allocations: 19.98 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.1228, allocations: 296.8 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.123, allocations: 42.56 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.123, allocations: 20.88 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1231, allocations: 4 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.1231, allocations: 30.56 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1231, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000534/0.1236, allocations: 153.3 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1237, allocations: 51.41 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1238, allocations: 161.8 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1238, allocations: 25.7 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.1239, allocations: 92.14 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1239, allocations: 27.64 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.124, allocations: 21.72 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1241, allocations: 322.8 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.1241, allocations: 19.98 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.1242, allocations: 23.98 kB / 473.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1243, allocations: 44.83 kB / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1244, allocations: 0 / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001798/0.1245, allocations: 97.5 kB / 473.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1246, allocations: 4 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1246, allocations: 0 / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1246, allocations: 0 / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.1246, allocations: 11.98 kB / 473.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1247, allocations: 4 kB / 473.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.1247, allocations: 4 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1247, allocations: 7.938 kB / 473.4 MB, free: 9.816 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 7.486e-05/0.1248, allocations: 125.8 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1248, allocations: 3.906 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.1251, allocations: 110.1 kB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1251, allocations: 0 / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1251, allocations: 4 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1251, allocations: 0 / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.1255, allocations: 358.4 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1255, allocations: 0 / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.1256, allocations: 15.92 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1256, allocations: 4.281 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1256, allocations: 0 / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1256, allocations: 3.938 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1256, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1258, allocations: 187.4 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.1259, allocations: 85 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1259, allocations: 4 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.126, allocations: 7.922 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.126, allocations: 4 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.126, allocations: 0 / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.498e-05/0.1261, allocations: 129.7 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1261, allocations: 0 / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1264, allocations: 24 kB / 474.4 MB, free: 8.668 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.001192/0.1276, allocations: 1.008 MB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1278, allocations: 55.95 kB / 475.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1278, allocations: 3.938 kB / 475.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.318e-05/0.1279, allocations: 31.92 kB / 475.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1282, allocations: 19.16 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1296, allocations: 1.5 MB / 477.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.1299, allocations: 0.6963 MB / 477.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.982e-05/0.1299, allocations: 11.98 kB / 477.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.13, allocations: 23.44 kB / 477.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.13, allocations: 3.938 kB / 477.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.1413, allocations: 2.424 MB / 480.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.1415, allocations: 233.9 kB / 480.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.021, allocations: 0 / 480.4 MB, free: 2.758 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches