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.001869/0.001869, 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.00197/0.001969, 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.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2477/0.2477, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 77.56 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1319, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.004863/0.1368, allocations: 1.933 MB / 482.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1383, allocations: 0.592 MB / 482.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.1385, allocations: 4 kB / 482.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.1389, allocations: 43.7 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.1392, allocations: 35.7 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1395, allocations: 39.95 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1398, allocations: 151.4 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.1401, allocations: 65.5 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1403, allocations: 55.78 kB / 483 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1404, allocations: 59.77 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.1404, allocations: 12 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.301e-05/0.1405, allocations: 19.88 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.1405, allocations: 31.86 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1407, allocations: 75.66 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.1409, allocations: 159.7 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.141, allocations: 0 / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.141, allocations: 0 / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.141, allocations: 0 / 483.4 MB, free: 1.891 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.0008479/0.1418, allocations: 443.3 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.1419, allocations: 8.031 kB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.215e-05/0.142, allocations: 54.73 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.142, allocations: 12.75 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.1423, allocations: 208 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1424, allocations: 8.656 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1424, allocations: 12.38 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.1428, allocations: 144.8 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1428, allocations: 0 / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.1428, allocations: 8 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1428, allocations: 0 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.1431, allocations: 112.8 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.1444, allocations: 0.6105 MB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.1447, allocations: 78.48 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1449, allocations: 24.97 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1449, allocations: 0 / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.05e-05/0.145, allocations: 34.56 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.595e-06/0.145, allocations: 4 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005185/0.1455, allocations: 105.5 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.1456, allocations: 51.41 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1458, allocations: 157.7 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.1459, allocations: 29.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.146, allocations: 135.5 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1461, allocations: 19.75 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.1462, allocations: 29.61 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1464, allocations: 322.8 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1465, allocations: 27.97 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.1467, allocations: 64.27 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.1469, allocations: 100.2 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1469, allocations: 0 / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000353/0.1473, allocations: 125.4 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1473, allocations: 4 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1474, allocations: 4 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.1474, allocations: 7.922 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1475, allocations: 27.97 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1476, allocations: 7.938 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1477, allocations: 11.94 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1477, allocations: 12.11 kB / 486.3 MB, free: 14.65 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 0.0001165/0.1479, allocations: 125.8 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1479, allocations: 11.81 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.1479, allocations: 8.312 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.148, allocations: 7.938 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.148, allocations: 3.938 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.148, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.1482, allocations: 205.6 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1482, allocations: 256 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.214e-05/0.1483, allocations: 23.98 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1484, allocations: 0 / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1484, allocations: 0 / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/0.1484, allocations: 7.938 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1484, allocations: 0 / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1487, allocations: 183.4 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.1488, allocations: 93 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1488, allocations: 0 / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.1489, allocations: 7.938 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.1489, allocations: 7.984 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.1489, allocations: 0 / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.22e-05/0.149, allocations: 118.2 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1491, allocations: 0 / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1493, allocations: 31.84 kB / 487.2 MB, free: 13.74 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.0006957/0.15, allocations: 0.7084 MB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.1503, allocations: 75.83 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1504, allocations: 256 / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1505, allocations: 35.97 kB / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.1508, allocations: 6.344 kB / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1528, allocations: 1.641 MB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1531, allocations: 0.708 MB / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.707e-05/0.1532, allocations: 4.672 kB / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.1533, allocations: 39.42 kB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.482e-06/0.1533, allocations: 3.938 kB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.1721, allocations: 2.096 MB / 492.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/7.573, allocations: 11.12 kB / 492.5 MB, free: 8.32 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv","/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