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.00177/0.00177, allocations: 106.4 kB / 16.41 MB, free: 6.48 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.002506/0.002506, allocations: 192.1 kB / 17.34 MB, free: 5.75 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.505/1.505, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.254/0.254, allocations: 43.53 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.001383/0.001383, allocations: 71.89 kB / 441.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1342, allocations: 57.78 MB / 499.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.00432/0.1386, allocations: 1.88 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.14, allocations: 0.6085 MB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1402, allocations: 0 / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.1405, allocations: 35.7 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1407, allocations: 43.7 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.1409, allocations: 35.95 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1411, allocations: 147.5 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.1413, allocations: 65.44 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.1415, allocations: 59.72 kB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1416, allocations: 63.7 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.1417, allocations: 16 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.161e-05/0.1417, allocations: 12 kB / 0.4903 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.1418, allocations: 31.92 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.1418, allocations: 75.64 kB / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.1421, allocations: 155.5 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1421, allocations: 0 / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1421, allocations: 0 / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1421, allocations: 0 / 0.4905 GB, free: 9.113 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.0007879/0.1429, allocations: 446.7 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.143, allocations: 19.89 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.717e-05/0.1431, allocations: 46.73 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.1431, allocations: 16.73 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.1435, allocations: 208.1 kB / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1435, allocations: 8.656 kB / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.1435, allocations: 12.38 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.1439, allocations: 147.9 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1439, allocations: 0 / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.144, allocations: 15.94 kB / 0.4914 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.144, allocations: 4 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.1443, allocations: 112.1 kB / 0.4915 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.1453, allocations: 0.5869 MB / 0.4921 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.1455, allocations: 74.61 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1457, allocations: 32.97 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1457, allocations: 0 / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1457, allocations: 30.56 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.1457, allocations: 0 / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000392/0.1461, allocations: 117.5 kB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1462, allocations: 55.41 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1463, allocations: 153.7 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1464, allocations: 25.7 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.1464, allocations: 135.5 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.1465, allocations: 19.7 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.1465, allocations: 29.7 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1467, allocations: 318.8 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.1468, allocations: 27.97 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1469, allocations: 64.27 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.1471, allocations: 92.2 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.1471, allocations: 7.922 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002683/0.1474, allocations: 117.6 kB / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1474, allocations: 8 kB / 0.4933 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1474, allocations: 0 / 0.4933 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1475, allocations: 3.938 kB / 0.4933 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1476, allocations: 31.91 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1476, allocations: 4 kB / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1477, allocations: 19.84 kB / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1478, allocations: 0 / 0.4934 GB, free: 5.895 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.0001022/0.1479, allocations: 133.8 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.1479, allocations: 7.906 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.1479, allocations: 12.25 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.148, allocations: 7.938 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.148, allocations: 0 / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.148, allocations: 0 / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.1482, allocations: 205.6 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1482, allocations: 0 / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.469e-05/0.1483, allocations: 19.92 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1483, allocations: 3.984 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1483, allocations: 4 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1483, allocations: 7.938 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1484, allocations: 0 / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.1486, allocations: 183.7 kB / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.1487, allocations: 85.02 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.1487, allocations: 3.984 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.1488, allocations: 15.94 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.1489, allocations: 7.984 kB / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1489, allocations: 0 / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.726e-05/0.149, allocations: 116 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.149, allocations: 0 / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1492, allocations: 31.84 kB / 0.4942 GB, free: 4.969 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.00055/0.1498, allocations: 0.7162 MB / 0.4949 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.15, allocations: 71.89 kB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1501, allocations: 0 / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.1502, allocations: 23.98 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.1504, allocations: 22.83 kB / 0.495 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.1523, allocations: 1.633 MB / 0.4966 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.1526, allocations: 0.708 MB / 0.4973 GB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.429e-05/0.1527, allocations: 4.672 kB / 0.4973 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.1527, allocations: 35.42 kB / 0.4973 GB, free: 1.598 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1527, allocations: 0 / 0.4973 GB, free: 1.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.1725, allocations: 2.142 MB / 0.4994 GB, free: 15.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/7.991, allocations: 15.16 kB / 0.4994 GB, free: 15.43 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