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.001225/0.001225, allocations: 104.5 kB / 16.27 MB, free: 5.844 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.001208/0.001208, allocations: 186.1 kB / 17.19 MB, free: 5.496 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.453/1.453, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.1903/0.1903, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001347/0.001347, allocations: 65.61 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.09075, allocations: 57.79 MB / 440.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002985/0.09377, allocations: 1.873 MB / 442.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.09481, allocations: 0.6126 MB / 443.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.09492, allocations: 4 kB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.09516, allocations: 27.73 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.0953, allocations: 31.7 kB / 443.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.09549, allocations: 39.94 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.09566, allocations: 147.5 kB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.09585, allocations: 77.36 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.09599, allocations: 63.66 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.09608, allocations: 59.77 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.09611, allocations: 16 kB / 443.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.282e-05/0.09614, allocations: 15.94 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.09618, allocations: 31.91 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.09624, allocations: 63.67 kB / 443.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.0964, allocations: 163.4 kB / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.09641, allocations: 0 / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.09642, allocations: 0 / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.09643, allocations: 0 / 443.8 MB, free: 3.602 MB / 318.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.0005713/0.09701, allocations: 439.3 kB / 444.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.09706, allocations: 11.89 kB / 444.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.09711, allocations: 46.73 kB / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.09715, allocations: 16.75 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.09733, allocations: 204.1 kB / 444.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.09735, allocations: 12.66 kB / 444.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.09738, allocations: 16.38 kB / 444.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.09767, allocations: 143.9 kB / 444.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.09768, allocations: 0 / 444.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.09771, allocations: 4 kB / 444.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.09772, allocations: 4 kB / 444.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.09797, allocations: 104.2 kB / 444.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.09879, allocations: 0.6103 MB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.09903, allocations: 74.58 kB / 445.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.09915, allocations: 33 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.09918, allocations: 0 / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.09921, allocations: 30.56 kB / 445.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.09921, allocations: 0 / 445.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003618/0.09958, allocations: 113.5 kB / 445.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.09962, allocations: 55.41 kB / 445.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.09971, allocations: 149.8 kB / 445.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.09973, allocations: 33.64 kB / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.09978, allocations: 131.5 kB / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.0998, allocations: 27.69 kB / 446.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.09984, allocations: 25.72 kB / 446.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.09989, allocations: 318.8 kB / 446.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-05/0.09999, allocations: 31.97 kB / 446.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.1001, allocations: 56.28 kB / 446.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.1003, allocations: 96.19 kB / 446.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1003, allocations: 0 / 446.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002354/0.1005, allocations: 125.4 kB / 446.7 MB, free: 468 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1006, allocations: 8 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1006, allocations: 4.062 kB / 446.7 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1006, allocations: 7.938 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1007, allocations: 27.92 kB / 446.7 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1007, allocations: 4 kB / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.1008, allocations: 15.83 kB / 446.8 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1008, allocations: 8 kB / 446.8 MB, free: 392 kB / 318.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 6.164e-05/0.1009, allocations: 121.8 kB / 446.9 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1009, allocations: 11.91 kB / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.101, allocations: 16.3 kB / 446.9 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.101, allocations: 7.938 kB / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.101, allocations: 0 / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.101, allocations: 0 / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.1012, allocations: 197.6 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1012, allocations: 0 / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.035e-05/0.1013, allocations: 23.92 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1013, allocations: 0 / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1013, allocations: 4.234 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.1013, allocations: 11.94 kB / 447.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1013, allocations: 7.938 kB / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1016, allocations: 175.4 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.1016, allocations: 85.02 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1016, allocations: 4 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.1017, allocations: 11.92 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.1018, allocations: 4 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1018, allocations: 4 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.669e-05/0.1019, allocations: 120.5 kB / 447.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1019, allocations: 0 / 447.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1021, allocations: 27.84 kB / 447.6 MB, free: 15.48 MB / 334.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.0005756/0.1027, allocations: 0.7162 MB / 448.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.103, allocations: 71.88 kB / 448.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.103, allocations: 0 / 448.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1031, allocations: 27.98 kB / 448.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1035, allocations: 7.938 kB / 448.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.1054, allocations: 1.634 MB / 450 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1057, allocations: 0.7093 MB / 450.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.697e-05/0.1057, allocations: 12.59 kB / 450.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.1058, allocations: 35.42 kB / 450.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1058, allocations: 4 kB / 450.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.1254, allocations: 2.059 MB / 452.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.704, allocations: 7.984 kB / 452.9 MB, free: 10.04 MB / 334.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