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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001911/0.001911, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002225/0.002225, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.66/1.66, allocations: 230.4 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.305/0.305, allocations: 46.91 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 83.86 kB / 0.491 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1284, allocations: 66.05 MB / 0.5555 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003548/0.132, allocations: 1.941 MB / 0.5573 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1331, allocations: 0.5998 MB / 0.5579 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1333, allocations: 4 kB / 0.5579 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.1335, allocations: 35.7 kB / 0.558 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.1336, allocations: 43.7 kB / 0.558 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.1338, allocations: 39.89 kB / 0.5581 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.134, allocations: 147.5 kB / 0.5582 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1342, allocations: 53.52 kB / 0.5582 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1343, allocations: 59.78 kB / 0.5583 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.1344, allocations: 63.7 kB / 0.5584 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.1344, allocations: 12 kB / 0.5584 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.635e-05/0.1345, allocations: 16 kB / 0.5584 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.1345, allocations: 27.92 kB / 0.5584 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.596e-05/0.1346, allocations: 67.66 kB / 0.5585 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1348, allocations: 171.2 kB / 0.5586 GB, free: 2.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1348, allocations: 4 kB / 0.5586 GB, free: 2.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1348, allocations: 3.938 kB / 0.5586 GB, free: 2.246 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1348, allocations: 0 / 0.5586 GB, free: 2.246 MB / 414.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.0007198/0.1355, allocations: 455 kB / 0.5591 GB, free: 1.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1356, allocations: 8.031 kB / 0.5591 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.1356, allocations: 42.75 kB / 0.5591 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1357, allocations: 24.83 kB / 0.5592 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.136, allocations: 200.2 kB / 0.5593 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.136, allocations: 8.656 kB / 0.5594 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.136, allocations: 12.38 kB / 0.5594 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.1363, allocations: 144.5 kB / 0.5595 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1364, allocations: 0 / 0.5595 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1364, allocations: 11.94 kB / 0.5595 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1364, allocations: 4 kB / 0.5595 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.1367, allocations: 104.8 kB / 0.5596 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1377, allocations: 0.6029 MB / 0.5602 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.138, allocations: 70.62 kB / 0.5603 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1381, allocations: 32.89 kB / 0.5603 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.1381, allocations: 0 / 0.5603 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1381, allocations: 34.56 kB / 0.5603 GB, free: 332 kB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1381, allocations: 0 / 0.5603 GB, free: 332 kB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004186/0.1386, allocations: 109.6 kB / 0.5604 GB, free: 216 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1386, allocations: 59.41 kB / 0.5605 GB, free: 144 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1388, allocations: 153.4 kB / 0.5606 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1388, allocations: 29.7 kB / 0.5607 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.1389, allocations: 135.7 kB / 0.5608 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.1389, allocations: 11.89 kB / 0.5608 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.139, allocations: 29.67 kB / 0.5608 GB, free: 15.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1391, allocations: 322.8 kB / 0.5612 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1392, allocations: 35.92 kB / 0.5612 GB, free: 15.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1394, allocations: 64.2 kB / 0.5612 GB, free: 15.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.1396, allocations: 96.17 kB / 0.5613 GB, free: 15.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1396, allocations: 0 / 0.5613 GB, free: 15.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003099/0.1399, allocations: 125.5 kB / 0.5615 GB, free: 15.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1399, allocations: 5.875 kB / 0.5615 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1399, allocations: 4.125 kB / 0.5615 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1399, allocations: 7.938 kB / 0.5615 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1401, allocations: 27.98 kB / 0.5615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1401, allocations: 0 / 0.5615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1402, allocations: 19.88 kB / 0.5615 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1402, allocations: 4 kB / 0.5615 GB, free: 15.02 MB / 430.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.0001077/0.1403, allocations: 121.8 kB / 0.5616 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.1403, allocations: 12.2 kB / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.1404, allocations: 12.31 kB / 0.5617 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1404, allocations: 3.938 kB / 0.5617 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1404, allocations: 7.984 kB / 0.5617 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1404, allocations: 4 kB / 0.5617 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.1406, allocations: 201.6 kB / 0.5619 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1406, allocations: 0 / 0.5619 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.534e-05/0.1407, allocations: 15.98 kB / 0.5619 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1407, allocations: 0 / 0.5619 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1407, allocations: 0 / 0.5619 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1407, allocations: 3.938 kB / 0.5619 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1407, allocations: 0 / 0.5619 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.141, allocations: 199.3 kB / 0.5621 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.1411, allocations: 89 kB / 0.5622 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1411, allocations: 0 / 0.5622 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1412, allocations: 11.92 kB / 0.5622 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.1412, allocations: 4 kB / 0.5622 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1413, allocations: 8 kB / 0.5622 GB, free: 14.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.63e-05/0.1413, allocations: 111.2 kB / 0.5623 GB, free: 14.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1413, allocations: 0 / 0.5623 GB, free: 14.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1416, allocations: 27.95 kB / 0.5623 GB, free: 14.1 MB / 430.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.0005884/0.1422, allocations: 0.7202 MB / 0.563 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.1425, allocations: 63.89 kB / 0.5631 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1425, allocations: 4 kB / 0.5631 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.1426, allocations: 35.84 kB / 0.5631 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.1428, allocations: 4 kB / 0.5631 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.1449, allocations: 1.649 MB / 0.5647 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1452, allocations: 0.708 MB / 0.5654 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.24e-05/0.1453, allocations: 8.672 kB / 0.5654 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.1453, allocations: 39.42 kB / 0.5655 GB, free: 10.72 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1453, allocations: 0 / 0.5655 GB, free: 10.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.1695, allocations: 2.167 MB / 0.5676 GB, free: 8.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/7.602, allocations: 10.36 kB / 0.5676 GB, free: 8.621 MB / 430.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable magneticPotentialDifferenceSensor.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticFluxSensor.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticFluxSensor.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticPotentialDifferenceSensor.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.807605396956205]