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.001294/0.001294, allocations: 104.1 kB / 15.98 MB, free: 6.336 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.001412/0.001412, allocations: 198.4 kB / 16.91 MB, free: 6.188 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.359/1.359, allocations: 205.1 MB / 222.8 MB, free: 4.914 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2955/0.2955, allocations: 43.49 MB / 313.6 MB, free: 8.574 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.002386/0.002386, allocations: 66.56 kB / 382.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09402, allocations: 57.78 MB / 440.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002624/0.09668, allocations: 1.932 MB / 442 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006978/0.09739, allocations: 0.593 MB / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.09747, allocations: 4 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.09761, allocations: 27.84 kB / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.716e-05/0.09772, allocations: 27.77 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.09785, allocations: 35.97 kB / 442.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.09799, allocations: 147.5 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.09812, allocations: 65.72 kB / 442.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.09824, allocations: 63.72 kB / 443 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.09831, allocations: 63.7 kB / 443.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.09834, allocations: 16 kB / 443.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.09837, allocations: 12 kB / 443.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.0984, allocations: 31.91 kB / 443.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.09846, allocations: 63.67 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.0986, allocations: 155.4 kB / 443.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.0986, allocations: 4 kB / 443.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09862, allocations: 4 kB / 443.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.09863, allocations: 0 / 443.3 MB, free: 11.68 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.0005071/0.09914, allocations: 447.2 kB / 443.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.09918, allocations: 11.89 kB / 443.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.09922, allocations: 54.67 kB / 443.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.09926, allocations: 16.75 kB / 443.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.09941, allocations: 200.1 kB / 444.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.09944, allocations: 16.66 kB / 444.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.09946, allocations: 16.36 kB / 444.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.09975, allocations: 143.9 kB / 444.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.09977, allocations: 0 / 444.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.09979, allocations: 4 kB / 444.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.0998, allocations: 4 kB / 444.2 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.1, allocations: 112 kB / 444.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.1009, allocations: 0.6026 MB / 444.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.1011, allocations: 74.56 kB / 445 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.1012, allocations: 28.97 kB / 445 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1013, allocations: 0 / 445 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.1013, allocations: 34.56 kB / 445.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1013, allocations: 0 / 445.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003424/0.1016, allocations: 109.5 kB / 445.2 MB, free: 9.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1017, allocations: 63.34 kB / 445.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1018, allocations: 145.8 kB / 445.4 MB, free: 9.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1018, allocations: 25.7 kB / 445.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.1019, allocations: 131.5 kB / 445.5 MB, free: 9.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.1019, allocations: 23.66 kB / 445.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.102, allocations: 25.7 kB / 445.6 MB, free: 9.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1021, allocations: 322.8 kB / 445.9 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.551e-05/0.1022, allocations: 27.97 kB / 445.9 MB, free: 8.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.1023, allocations: 60.27 kB / 446 MB, free: 8.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1025, allocations: 96.19 kB / 446.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1025, allocations: 0 / 446.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002749/0.1028, allocations: 125.4 kB / 446.2 MB, free: 8.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1028, allocations: 12.12 kB / 446.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1028, allocations: 0 / 446.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.1029, allocations: 7.922 kB / 446.2 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.103, allocations: 23.98 kB / 446.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.103, allocations: 4 kB / 446.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.169e-05/0.1031, allocations: 19.83 kB / 446.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1031, allocations: 4 kB / 446.3 MB, free: 8.461 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.0001148/0.1032, allocations: 125.8 kB / 446.4 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1033, allocations: 11.91 kB / 446.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.1033, allocations: 16.23 kB / 446.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1033, allocations: 7.938 kB / 446.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1033, allocations: 0 / 446.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1033, allocations: 0 / 446.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1036, allocations: 209.5 kB / 446.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1036, allocations: 0 / 446.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.78e-05/0.1037, allocations: 15.98 kB / 446.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1037, allocations: 256 / 446.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1037, allocations: 0 / 446.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1037, allocations: 11.94 kB / 446.7 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1037, allocations: 4 kB / 446.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.104, allocations: 179.4 kB / 446.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.104, allocations: 89 kB / 446.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1041, allocations: 4 kB / 446.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.1042, allocations: 7.938 kB / 446.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.1042, allocations: 11.98 kB / 447 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1042, allocations: 0 / 447 MB, free: 7.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.887e-05/0.1043, allocations: 112 kB / 447.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1043, allocations: 4 kB / 447.1 MB, free: 7.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1045, allocations: 27.84 kB / 447.1 MB, free: 7.543 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.0005563/0.1051, allocations: 0.7278 MB / 447.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.1054, allocations: 71.89 kB / 447.9 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1054, allocations: 0 / 447.9 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.851e-05/0.1055, allocations: 31.97 kB / 447.9 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1057, allocations: 4.25 kB / 447.9 MB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.1079, allocations: 1.695 MB / 449.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1081, allocations: 0.7002 MB / 450.3 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.856e-05/0.1082, allocations: 12.66 kB / 450.3 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.1083, allocations: 35.42 kB / 450.4 MB, free: 4.113 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1083, allocations: 3.938 kB / 450.4 MB, free: 4.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.599/0.7073, allocations: 1.939 MB / 452.3 MB, free: 2.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/0.7076, allocations: 178.7 kB / 452.5 MB, free: 1.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.897/4.605, allocations: 0 / 452.5 MB, free: 1.926 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches