Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1984/0.1984, allocations: 46.09 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002716/0.002716, allocations: 74.03 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1194, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003141/0.1226, allocations: 1.925 MB / 482.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.1236, allocations: 0.5999 MB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1237, allocations: 3.938 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.1239, allocations: 35.73 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.1241, allocations: 39.64 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.1243, allocations: 39.94 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1245, allocations: 151.5 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1246, allocations: 60.52 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.1247, allocations: 59.8 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1248, allocations: 63.7 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.1249, allocations: 12 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.908e-05/0.1249, allocations: 16 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.1249, allocations: 35.89 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.125, allocations: 71.61 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1252, allocations: 163.6 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1252, allocations: 0 / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1252, allocations: 0 / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1252, allocations: 0 / 483.4 MB, free: 1.918 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.0005872/0.1258, allocations: 443.3 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1258, allocations: 12.03 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.1259, allocations: 46.73 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1259, allocations: 16.75 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1261, allocations: 204 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1261, allocations: 12.66 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1262, allocations: 16.36 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.1265, allocations: 148.8 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1265, allocations: 0 / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1265, allocations: 4 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1265, allocations: 4 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.1268, allocations: 104.7 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008909/0.1277, allocations: 0.6105 MB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.1279, allocations: 66.58 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1281, allocations: 32.95 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1281, allocations: 7.984 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1281, allocations: 30.56 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.1281, allocations: 0 / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003904/0.1285, allocations: 105.5 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1286, allocations: 55.41 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1287, allocations: 154.4 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1287, allocations: 25.7 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.1288, allocations: 135.5 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1288, allocations: 23.73 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.1289, allocations: 29.62 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.129, allocations: 318.8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1291, allocations: 31.91 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1292, allocations: 64.53 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.1294, allocations: 96.19 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1294, allocations: 4 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002783/0.1297, allocations: 125.4 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1297, allocations: 8 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1298, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1298, allocations: 7.938 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1299, allocations: 28.11 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1299, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.514e-05/0.13, allocations: 19.92 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.13, allocations: 7.938 kB / 486.3 MB, free: 14.68 MB / 366.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.548e-05/0.1301, allocations: 121.8 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.1302, allocations: 11.81 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.1302, allocations: 24.22 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1302, allocations: 3.938 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1302, allocations: 4 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1302, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1304, allocations: 201.6 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1305, allocations: 7.984 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.588e-05/0.1305, allocations: 12 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1306, allocations: 3.984 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1306, allocations: 0 / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1306, allocations: 3.938 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1306, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1308, allocations: 187.4 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.1309, allocations: 85.02 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1309, allocations: 4 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.131, allocations: 11.92 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1311, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1311, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.1311, allocations: 122.6 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1312, allocations: 0 / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1314, allocations: 27.84 kB / 487.2 MB, free: 13.77 MB / 366.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.0004742/0.1319, allocations: 0.7163 MB / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.1322, allocations: 87.81 kB / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1322, allocations: 0 / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.1323, allocations: 23.98 kB / 488 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.1325, allocations: 8 kB / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1343, allocations: 1.637 MB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1345, allocations: 0.708 MB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.1346, allocations: 4.656 kB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.1347, allocations: 39.42 kB / 490.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1347, allocations: 3.938 kB / 490.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.1516, allocations: 2.095 MB / 492.5 MB, free: 8.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.692, allocations: 11.25 kB / 492.5 MB, free: 8.348 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches