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.001451/0.001451, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 77 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1221, allocations: 62.45 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003203/0.1253, allocations: 1.992 MB / 481.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.1263, allocations: 0.5804 MB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.1264, allocations: 0 / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.1266, allocations: 39.77 kB / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.1268, allocations: 23.84 kB / 482 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.1269, allocations: 39.89 kB / 482.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1271, allocations: 139.5 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1273, allocations: 57.84 kB / 482.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.1274, allocations: 55.73 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.1274, allocations: 63.73 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.1275, allocations: 11.94 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.716e-05/0.1275, allocations: 12 kB / 482.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.1275, allocations: 23.92 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.893e-05/0.1276, allocations: 63.67 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1278, allocations: 155.7 kB / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1278, allocations: 0 / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1278, allocations: 0 / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1278, allocations: 0 / 482.6 MB, free: 2.348 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.0005937/0.1284, allocations: 443.4 kB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1285, allocations: 8.875 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.1285, allocations: 50.73 kB / 483.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.1286, allocations: 12.75 kB / 483.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.1287, allocations: 208 kB / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1288, allocations: 8.656 kB / 483.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.1288, allocations: 16.38 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.1292, allocations: 143.9 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1292, allocations: 0 / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1292, allocations: 8 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1292, allocations: 4 kB / 483.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.1295, allocations: 108.7 kB / 483.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.1305, allocations: 0.6105 MB / 484.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.1307, allocations: 78.5 kB / 484.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1308, allocations: 33 kB / 484.3 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1308, allocations: 0 / 484.3 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1309, allocations: 34.56 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1309, allocations: 0 / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004025/0.1313, allocations: 109.5 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1313, allocations: 59.34 kB / 484.5 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1315, allocations: 157.7 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1315, allocations: 29.7 kB / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.1316, allocations: 135.5 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.1316, allocations: 15.75 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.1317, allocations: 25.62 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.1318, allocations: 322.8 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.1319, allocations: 31.97 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.132, allocations: 64.2 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.1322, allocations: 96.2 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1322, allocations: 0 / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002868/0.1325, allocations: 121.4 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1326, allocations: 8 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1326, allocations: 128 / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1326, allocations: 8.188 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1327, allocations: 23.98 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1327, allocations: 11.98 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.801e-05/0.1328, allocations: 11.94 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1329, allocations: 4 kB / 485.6 MB, free: 15.11 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 9.027e-05/0.133, allocations: 129.8 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.133, allocations: 15.8 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.133, allocations: 12.31 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.133, allocations: 11.88 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1331, allocations: 0 / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1331, allocations: 0 / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.1333, allocations: 209.6 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1333, allocations: 0 / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.1334, allocations: 15.98 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1334, allocations: 0 / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1334, allocations: 4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1334, allocations: 3.938 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1335, allocations: 0 / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1337, allocations: 195.3 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1338, allocations: 81.02 kB / 486.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1338, allocations: 0 / 486.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.1339, allocations: 11.92 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.134, allocations: 7.984 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.134, allocations: 4 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.028e-05/0.1341, allocations: 114.5 kB / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1341, allocations: 0 / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000367/0.1344, allocations: 31.84 kB / 486.4 MB, free: 14.19 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.0004919/0.1349, allocations: 0.72 MB / 487.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.1352, allocations: 71.89 kB / 487.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1352, allocations: 0 / 487.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.1353, allocations: 28.11 kB / 487.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1356, allocations: 7.984 kB / 487.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.1376, allocations: 1.69 MB / 488.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1379, allocations: 0.7079 MB / 489.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.845e-05/0.138, allocations: 8.656 kB / 489.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.138, allocations: 43.42 kB / 489.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.138, allocations: 0 / 489.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.1584, allocations: 1.894 MB / 491.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.1586, allocations: 197.4 kB / 491.8 MB, free: 8.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.017, allocations: 0 / 491.8 MB, free: 8.684 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