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.001135/0.001135, allocations: 103.6 kB / 16.4 MB, free: 6.508 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.001198/0.001198, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.499/1.499, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2093/0.2093, allocations: 43.53 MB / 314.1 MB, free: 448 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.001481/0.001481, allocations: 73.62 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003405/0.1113, allocations: 1.873 MB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1124, allocations: 0.6163 MB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1126, allocations: 7.938 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1128, allocations: 31.8 kB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.113, allocations: 31.7 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.1132, allocations: 47.86 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1134, allocations: 151.5 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1136, allocations: 57.45 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1138, allocations: 63.72 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1139, allocations: 63.7 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.1139, allocations: 16 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.62e-05/0.1139, allocations: 16 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.114, allocations: 35.89 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.114, allocations: 63.67 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1142, allocations: 155.5 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.1143, allocations: 7.984 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1143, allocations: 0 / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1143, allocations: 4 kB / 0.4905 GB, free: 9.07 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.0006412/0.1149, allocations: 443.2 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.115, allocations: 11.89 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.115, allocations: 46.73 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.1151, allocations: 16.75 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1153, allocations: 204.1 kB / 0.4912 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1154, allocations: 12.66 kB / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1154, allocations: 12.38 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.1157, allocations: 147.9 kB / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1157, allocations: 4 kB / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1158, allocations: 4 kB / 0.4914 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.1158, allocations: 4 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.1161, allocations: 108.1 kB / 0.4915 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1171, allocations: 0.6025 MB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1174, allocations: 70.5 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1175, allocations: 29.02 kB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1175, allocations: 0 / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1175, allocations: 34.55 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1176, allocations: 4 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004234/0.118, allocations: 109.7 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.118, allocations: 55.34 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1182, allocations: 149.7 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1182, allocations: 25.7 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.1183, allocations: 139.5 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1183, allocations: 23.7 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.1184, allocations: 25.72 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1185, allocations: 318.8 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1186, allocations: 32.05 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1188, allocations: 60.27 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.119, allocations: 96.19 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.119, allocations: 0 / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003114/0.1193, allocations: 129.5 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1194, allocations: 4 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1194, allocations: 0 / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1194, allocations: 7.938 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1195, allocations: 27.98 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1196, allocations: 0 / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1197, allocations: 23.77 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1197, allocations: 4 kB / 0.4934 GB, free: 5.855 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.0001074/0.1198, allocations: 129.8 kB / 0.4935 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.1198, allocations: 7.906 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.1199, allocations: 12.31 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1199, allocations: 3.938 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1199, allocations: 3.984 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1199, allocations: 0 / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1201, allocations: 201.6 kB / 0.4937 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1201, allocations: 4 kB / 0.4937 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.043e-05/0.1202, allocations: 15.98 kB / 0.4937 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1203, allocations: 4 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1203, allocations: 0 / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1203, allocations: 3.938 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1203, allocations: 0 / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.1206, allocations: 191.3 kB / 0.4939 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.1206, allocations: 81.02 kB / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1206, allocations: 8 kB / 0.494 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.1207, allocations: 15.86 kB / 0.494 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1208, allocations: 4 kB / 0.494 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1208, allocations: 4.062 kB / 0.494 GB, free: 5.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.425e-05/0.1209, allocations: 115.9 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1209, allocations: 0 / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1211, allocations: 31.84 kB / 0.4942 GB, free: 4.938 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.0005938/0.1217, allocations: 0.7162 MB / 0.4949 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.122, allocations: 67.89 kB / 0.495 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.122, allocations: 0 / 0.495 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1221, allocations: 36.22 kB / 0.495 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.1224, allocations: 4 kB / 0.495 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1244, allocations: 1.636 MB / 0.4966 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1247, allocations: 0.708 MB / 0.4973 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.214e-05/0.1248, allocations: 8.656 kB / 0.4973 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.1248, allocations: 39.36 kB / 0.4973 GB, free: 1.562 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1248, allocations: 3.938 kB / 0.4973 GB, free: 1.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.1442, allocations: 2.135 MB / 0.4994 GB, free: 15.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.894, allocations: 27.36 kB / 0.4994 GB, free: 15.39 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