Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_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.0007192/0.0007193, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.000769/0.0007691, allocations: 176.7 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.207/0.207, allocations: 44.24 MB / 337.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 9.688 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002416/0.1093, allocations: 1.62 MB / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1103, allocations: 0.5338 MB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.1105, allocations: 7.938 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.1107, allocations: 23.84 kB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1109, allocations: 23.83 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.1111, allocations: 43.91 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.1113, allocations: 147.4 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.1115, allocations: 53.77 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.1117, allocations: 47.84 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.1118, allocations: 55.7 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.1119, allocations: 8 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.1119, allocations: 4 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.1119, allocations: 23.92 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.583e-05/0.112, allocations: 89.38 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.1122, allocations: 147.6 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1122, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.1122, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1123, allocations: 7.938 kB / 475.2 MB, free: 10.38 MB / 350.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.0006528/0.1129, allocations: 425.6 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.113, allocations: 8.031 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.869e-05/0.113, allocations: 54.67 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.1131, allocations: 16.75 kB / 475.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1133, allocations: 200.1 kB / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1133, allocations: 12.66 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1134, allocations: 12.38 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.1137, allocations: 147.9 kB / 476 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1137, allocations: 4 kB / 476 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.1137, allocations: 7.984 kB / 476.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1138, allocations: 4 kB / 476.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.1141, allocations: 112.8 kB / 476.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1151, allocations: 0.6223 MB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.1153, allocations: 74.58 kB / 476.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1155, allocations: 33.02 kB / 476.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.1155, allocations: 11.94 kB / 476.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1155, allocations: 38.55 kB / 476.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1155, allocations: 0 / 476.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004269/0.116, allocations: 121.5 kB / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.116, allocations: 55.41 kB / 477.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.1162, allocations: 151.4 kB / 477.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1162, allocations: 25.7 kB / 477.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.1163, allocations: 135.4 kB / 477.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.1163, allocations: 27.64 kB / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.1164, allocations: 21.66 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1165, allocations: 322.8 kB / 477.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1166, allocations: 31.98 kB / 477.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1168, allocations: 68.2 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.117, allocations: 112.2 kB / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.117, allocations: 0 / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003099/0.1174, allocations: 129.5 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1174, allocations: 8.062 kB / 478.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1174, allocations: 11.92 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1174, allocations: 7.938 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1176, allocations: 27.98 kB / 478.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1176, allocations: 4.062 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1177, allocations: 19.92 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1177, allocations: 4 kB / 478.2 MB, free: 7.078 MB / 350.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 9.536e-05/0.1178, allocations: 129.8 kB / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1178, allocations: 7.906 kB / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.1179, allocations: 8.312 kB / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1179, allocations: 3.938 kB / 478.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1179, allocations: 4 kB / 478.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1179, allocations: 0 / 478.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.1181, allocations: 213.5 kB / 478.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1181, allocations: 0 / 478.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.1182, allocations: 15.98 kB / 478.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1182, allocations: 8 kB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1182, allocations: 0 / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1182, allocations: 4.188 kB / 478.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1183, allocations: 4 kB / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1185, allocations: 191.4 kB / 478.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.1186, allocations: 93 kB / 478.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1186, allocations: 3.938 kB / 478.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.1187, allocations: 11.94 kB / 478.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.1188, allocations: 3.984 kB / 478.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1188, allocations: 0 / 478.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.827e-05/0.1189, allocations: 117.3 kB / 479 MB, free: 6.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1189, allocations: 0 / 479 MB, free: 6.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1191, allocations: 27.94 kB / 479 MB, free: 6.16 MB / 350.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.0005412/0.1197, allocations: 0.7284 MB / 479.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.12, allocations: 75.89 kB / 479.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.12, allocations: 0 / 479.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1201, allocations: 48.16 kB / 479.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1204, allocations: 7.938 kB / 479.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.1223, allocations: 1.731 MB / 481.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1226, allocations: 0.7002 MB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.021e-05/0.1227, allocations: 12.66 kB / 482.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.1227, allocations: 39.42 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1227, allocations: 0 / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.134, allocations: 1.813 MB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.1343, allocations: 193.6 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/1.901, allocations: 0 / 484.4 MB, free: 0.6953 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches