Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.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.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors",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.001337/0.001337, allocations: 107.4 kB / 16.41 MB, free: 6.516 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.001468/0.001468, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.67/1.67, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2324/0.2324, allocations: 43.51 MB / 314.1 MB, free: 476 kB / 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.002085/0.002085, allocations: 69.47 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1259, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003422/0.1294, allocations: 1.873 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1305, allocations: 0.6085 MB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.344e-05/0.1306, allocations: 4 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.1308, allocations: 35.7 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.131, allocations: 31.7 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1312, allocations: 47.89 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1314, allocations: 147.5 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.1316, allocations: 61.47 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1317, allocations: 67.77 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1319, allocations: 63.7 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.1319, allocations: 12 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.216e-05/0.1319, allocations: 19.94 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.132, allocations: 31.91 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.1321, allocations: 63.67 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1323, allocations: 155.3 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1323, allocations: 4 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1323, allocations: 0 / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1323, allocations: 0 / 0.4905 GB, free: 9.074 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007594/0.1331, allocations: 450.6 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1332, allocations: 11.89 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.1332, allocations: 50.73 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.1333, allocations: 16.84 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1335, allocations: 200.1 kB / 0.4912 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1336, allocations: 12.66 kB / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1336, allocations: 12.38 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.1339, allocations: 147.9 kB / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.134, allocations: 0 / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.134, allocations: 4 kB / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.134, allocations: 11.92 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.1343, allocations: 104.2 kB / 0.4915 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1354, allocations: 0.6066 MB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.1357, allocations: 70.56 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1358, allocations: 24.97 kB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1358, allocations: 3.938 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.1359, allocations: 42.56 kB / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1359, allocations: 0 / 0.4922 GB, free: 7.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004218/0.1363, allocations: 105.6 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.1363, allocations: 55.41 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1365, allocations: 157.6 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1366, allocations: 29.7 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1367, allocations: 135.8 kB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.1367, allocations: 11.91 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.1368, allocations: 33.66 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1369, allocations: 322.8 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.137, allocations: 23.98 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.1372, allocations: 64.27 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1374, allocations: 88.19 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1374, allocations: 256 / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000296/0.1377, allocations: 133.5 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1378, allocations: 7.984 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1378, allocations: 4 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1378, allocations: 7.938 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1379, allocations: 23.98 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1379, allocations: 0 / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.138, allocations: 28 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1381, allocations: 4 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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 0.000109/0.1382, allocations: 125.7 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.1382, allocations: 11.89 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.1383, allocations: 12.31 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1383, allocations: 3.938 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1383, allocations: 0 / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1383, allocations: 0 / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.1385, allocations: 209.6 kB / 0.4937 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1385, allocations: 4 kB / 0.4937 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.1386, allocations: 15.98 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1386, allocations: 0 / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1387, allocations: 0 / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1387, allocations: 3.938 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1387, allocations: 0 / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.139, allocations: 183.4 kB / 0.4939 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.139, allocations: 93.05 kB / 0.494 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1391, allocations: 4 kB / 0.494 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1392, allocations: 7.938 kB / 0.494 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.1392, allocations: 3.984 kB / 0.494 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1392, allocations: 4 kB / 0.4941 GB, free: 5.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.807e-05/0.1393, allocations: 119.9 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1393, allocations: 0 / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1396, allocations: 27.89 kB / 0.4942 GB, free: 4.934 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.0006081/0.1402, allocations: 0.7163 MB / 0.4949 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.1405, allocations: 71.95 kB / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1405, allocations: 4.25 kB / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1406, allocations: 35.97 kB / 0.495 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1409, allocations: 3.797 kB / 0.495 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.1429, allocations: 1.652 MB / 0.4966 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1433, allocations: 0.708 MB / 0.4973 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.934e-05/0.1433, allocations: 8.656 kB / 0.4973 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.1434, allocations: 31.44 kB / 0.4973 GB, free: 1.547 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1434, allocations: 0 / 0.4973 GB, free: 1.547 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.1674, allocations: 2.121 MB / 0.4994 GB, free: 15.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.011, allocations: 1.094 kB / 0.4994 GB, free: 15.42 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches