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.001382/0.001383, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001415/0.001416, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.304/1.304, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2075/0.2075, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 60.86 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003035/0.1205, allocations: 1.564 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000742/0.1213, allocations: 403.3 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.1213, allocations: 0 / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.1216, allocations: 31.84 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.1218, allocations: 35.84 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.1222, allocations: 106.4 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1224, allocations: 63.84 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1225, allocations: 11.98 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.1226, allocations: 19.92 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.1226, allocations: 19.86 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1227, allocations: 4 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.1228, allocations: 31.94 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.1228, allocations: 19.91 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.1229, allocations: 23.81 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.123, allocations: 80.08 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1231, allocations: 3.984 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1231, allocations: 0 / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1231, allocations: 0 / 471.8 MB, free: 11.85 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.0004922/0.1236, allocations: 382 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.1236, allocations: 12.03 kB / 472.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.031e-05/0.1237, allocations: 34.73 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1238, allocations: 8.844 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.124, allocations: 192.1 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1241, allocations: 4.375 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.1241, allocations: 8.375 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1243, allocations: 53.59 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1243, allocations: 4 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1243, allocations: 3.938 kB / 472.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1243, allocations: 0 / 472.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1244, allocations: 19.98 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.1249, allocations: 292.8 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1252, allocations: 46.56 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.1252, allocations: 16.94 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1253, allocations: 4 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1253, allocations: 30.56 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.1253, allocations: 4 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006185/0.1259, allocations: 141.3 kB / 473 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.126, allocations: 55.41 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1261, allocations: 161.8 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1261, allocations: 25.7 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.1262, allocations: 96.12 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.1262, allocations: 27.66 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1263, allocations: 21.7 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.1264, allocations: 318.8 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.1265, allocations: 23.97 kB / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.1265, allocations: 23.92 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1267, allocations: 48.83 kB / 473.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1267, allocations: 4 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001851/0.1269, allocations: 93.75 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1269, allocations: 4 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1269, allocations: 0 / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1269, allocations: 0 / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.127, allocations: 12 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.127, allocations: 0 / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.1271, allocations: 7.984 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1271, allocations: 11.88 kB / 473.9 MB, free: 9.469 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 8.042e-05/0.1272, allocations: 121.8 kB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1272, allocations: 7.906 kB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.1274, allocations: 97.94 kB / 474.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1274, allocations: 4 kB / 474.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1274, allocations: 3.938 kB / 474.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1275, allocations: 0 / 474.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.1279, allocations: 366.4 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1279, allocations: 0 / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.128, allocations: 15.98 kB / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.128, allocations: 0 / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.128, allocations: 0 / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.128, allocations: 3.938 kB / 474.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.128, allocations: 0 / 474.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1282, allocations: 191.4 kB / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.1283, allocations: 85.02 kB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1283, allocations: 256 / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.1284, allocations: 11.94 kB / 474.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1284, allocations: 3.984 kB / 474.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1284, allocations: 0 / 474.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1285, allocations: 129.8 kB / 474.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1285, allocations: 4 kB / 474.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1288, allocations: 16 kB / 474.9 MB, free: 8.324 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.001406/0.1302, allocations: 1.007 MB / 475.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.1304, allocations: 63.89 kB / 476 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1305, allocations: 3.938 kB / 476 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.1306, allocations: 27.98 kB / 476 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1309, allocations: 23.55 kB / 476.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.1327, allocations: 1.485 MB / 477.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1331, allocations: 0.7002 MB / 478.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.567e-05/0.1331, allocations: 8 kB / 478.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.1332, allocations: 23.42 kB / 478.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1332, allocations: 4 kB / 478.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.1539, allocations: 2.51 MB / 480.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/7.815, allocations: 11.05 kB / 480.8 MB, free: 2.559 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