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.001179/0.001179, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008762/0.0008761, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.134/1.134, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.2871/0.2871, allocations: 43.58 MB / 315 MB, free: 9.047 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.0007485/0.0007486, allocations: 16 kB / 384.7 MB, free: 7.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1093, allocations: 58.87 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.001881/0.1113, allocations: 1.582 MB / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.1121, allocations: 0.5853 MB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.1122, allocations: 3.938 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1124, allocations: 31.78 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.1125, allocations: 31.83 kB / 445.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.1126, allocations: 35.97 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1128, allocations: 139.5 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1129, allocations: 54.05 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1131, allocations: 51.72 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.475e-05/0.1131, allocations: 55.72 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1132, allocations: 8 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.1132, allocations: 8 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.1132, allocations: 23.91 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.1133, allocations: 93.36 kB / 446.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1135, allocations: 147.3 kB / 446.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1135, allocations: 0 / 446.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1135, allocations: 0 / 446.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1135, allocations: 0 / 446.4 MB, free: 9.957 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.0005104/0.114, allocations: 423.4 kB / 446.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1141, allocations: 12.03 kB / 446.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.1141, allocations: 50.73 kB / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.1142, allocations: 20.75 kB / 446.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1143, allocations: 200.1 kB / 447.1 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1144, allocations: 8.656 kB / 447.1 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1144, allocations: 16.38 kB / 447.1 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.1147, allocations: 147.9 kB / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1147, allocations: 4 kB / 447.2 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1147, allocations: 7.984 kB / 447.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1148, allocations: 4 kB / 447.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.1151, allocations: 116.1 kB / 447.4 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008716/0.1159, allocations: 0.6181 MB / 448 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1162, allocations: 74.61 kB / 448.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1163, allocations: 36.91 kB / 448.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1163, allocations: 4 kB / 448.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1163, allocations: 34.56 kB / 448.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1164, allocations: 4 kB / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004114/0.1168, allocations: 125.5 kB / 448.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.1168, allocations: 55.41 kB / 448.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1169, allocations: 149.8 kB / 448.5 MB, free: 7.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.117, allocations: 25.7 kB / 448.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.117, allocations: 131.5 kB / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.1171, allocations: 19.75 kB / 448.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.1171, allocations: 13.72 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1172, allocations: 326.8 kB / 449 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1173, allocations: 35.91 kB / 449 MB, free: 7.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1175, allocations: 64.27 kB / 449.1 MB, free: 7.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.1177, allocations: 112.2 kB / 449.2 MB, free: 6.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1177, allocations: 4 kB / 449.2 MB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002841/0.118, allocations: 129.4 kB / 449.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.118, allocations: 12.12 kB / 449.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.118, allocations: 0 / 449.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1181, allocations: 7.938 kB / 449.3 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1182, allocations: 27.92 kB / 449.3 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1182, allocations: 7.984 kB / 449.4 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.752e-05/0.1183, allocations: 19.84 kB / 449.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1183, allocations: 4 kB / 449.4 MB, free: 6.676 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 8.882e-05/0.1184, allocations: 121.8 kB / 449.5 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.1185, allocations: 11.89 kB / 449.5 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.1185, allocations: 12.31 kB / 449.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1185, allocations: 3.938 kB / 449.5 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1185, allocations: 0 / 449.5 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1185, allocations: 0 / 449.5 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1187, allocations: 209.5 kB / 449.7 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1187, allocations: 4.25 kB / 449.7 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.241e-05/0.1188, allocations: 27.91 kB / 449.8 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1189, allocations: 4 kB / 449.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1189, allocations: 0 / 449.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1189, allocations: 7.938 kB / 449.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1189, allocations: 0 / 449.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.1192, allocations: 191.4 kB / 450 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.1192, allocations: 85.02 kB / 450 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1193, allocations: 4 kB / 450 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.1194, allocations: 11.92 kB / 450.1 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1194, allocations: 7.984 kB / 450.1 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.1194, allocations: 0 / 450.1 MB, free: 5.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.698e-05/0.1195, allocations: 112 kB / 450.2 MB, free: 5.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1195, allocations: 0 / 450.2 MB, free: 5.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1198, allocations: 31.84 kB / 450.2 MB, free: 5.75 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.0005457/0.1203, allocations: 0.7396 MB / 450.9 MB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.1206, allocations: 79.89 kB / 451 MB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1206, allocations: 0 / 451 MB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1207, allocations: 36.23 kB / 451.1 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.121, allocations: 7.938 kB / 451.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1229, allocations: 1.736 MB / 452.8 MB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1232, allocations: 0.708 MB / 453.5 MB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.608e-05/0.1232, allocations: 4.672 kB / 453.5 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.1233, allocations: 39.42 kB / 453.6 MB, free: 2.242 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1233, allocations: 0 / 453.6 MB, free: 2.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2018/0.3251, allocations: 1.815 MB / 455.4 MB, free: 456 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.3254, allocations: 181.9 kB / 455.5 MB, free: 192 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.998, allocations: 0 / 455.5 MB, free: 192 kB / 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