Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.234/0.234, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 59.91 kB / 0.4909 GB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1346, allocations: 66 MB / 0.5554 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003371/0.138, allocations: 1.936 MB / 0.5572 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.139, allocations: 0.6076 MB / 0.5578 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.1391, allocations: 4 kB / 0.5578 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.1393, allocations: 31.72 kB / 0.5579 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.1394, allocations: 35.7 kB / 0.5579 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.1396, allocations: 47.94 kB / 0.558 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1397, allocations: 151.4 kB / 0.5581 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1399, allocations: 49.53 kB / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.14, allocations: 63.77 kB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.503e-05/0.1401, allocations: 63.7 kB / 0.5583 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1401, allocations: 12 kB / 0.5583 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.422e-05/0.1401, allocations: 15.94 kB / 0.5583 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.1402, allocations: 27.92 kB / 0.5583 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.1402, allocations: 71.66 kB / 0.5584 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1405, allocations: 155.3 kB / 0.5585 GB, free: 2.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1405, allocations: 3.938 kB / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1405, allocations: 4 kB / 0.5585 GB, free: 2.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1405, allocations: 0 / 0.5585 GB, free: 2.609 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.0006983/0.1412, allocations: 455 kB / 0.559 GB, free: 2.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1412, allocations: 8.031 kB / 0.559 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/0.1413, allocations: 46.73 kB / 0.559 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.1413, allocations: 16.84 kB / 0.559 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1415, allocations: 204.1 kB / 0.5592 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1416, allocations: 12.66 kB / 0.5593 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1416, allocations: 12.38 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.1419, allocations: 147.9 kB / 0.5594 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1419, allocations: 3.984 kB / 0.5594 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1419, allocations: 4 kB / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1419, allocations: 4 kB / 0.5594 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.1423, allocations: 104.8 kB / 0.5595 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1433, allocations: 0.6107 MB / 0.5601 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.1435, allocations: 62.61 kB / 0.5602 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1436, allocations: 36.97 kB / 0.5602 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.1437, allocations: 0 / 0.5602 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1437, allocations: 30.56 kB / 0.5602 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1437, allocations: 0 / 0.5602 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004414/0.1441, allocations: 113.5 kB / 0.5603 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1442, allocations: 55.39 kB / 0.5604 GB, free: 0.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1443, allocations: 154.3 kB / 0.5605 GB, free: 340 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1443, allocations: 25.7 kB / 0.5606 GB, free: 308 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.1444, allocations: 135.8 kB / 0.5607 GB, free: 168 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.1444, allocations: 15.91 kB / 0.5607 GB, free: 152 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.1445, allocations: 29.66 kB / 0.5607 GB, free: 116 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1446, allocations: 318.8 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.1447, allocations: 27.98 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.1449, allocations: 68.2 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.1451, allocations: 96.19 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1451, allocations: 0 / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003084/0.1454, allocations: 129.5 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1454, allocations: 7.984 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1454, allocations: 0 / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1455, allocations: 7.938 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1456, allocations: 32.3 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1456, allocations: 3.938 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1457, allocations: 23.88 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1457, allocations: 4 kB / 0.5614 GB, free: 15.36 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.0001011/0.1458, allocations: 120 kB / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.1459, allocations: 7.953 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.1459, allocations: 12.31 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1459, allocations: 3.938 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1459, allocations: 4 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1459, allocations: 0 / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.1461, allocations: 213.6 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1461, allocations: 0 / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.845e-05/0.1462, allocations: 19.92 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1462, allocations: 0 / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1463, allocations: 4 kB / 0.5618 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1463, allocations: 3.938 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1463, allocations: 0 / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.1466, allocations: 183.5 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.1466, allocations: 92.98 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1466, allocations: 0 / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1467, allocations: 11.94 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.1468, allocations: 7.969 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.1468, allocations: 4 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.237e-05/0.1469, allocations: 118.6 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1469, allocations: 0 / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1471, allocations: 23.95 kB / 0.5622 GB, free: 14.46 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.0005982/0.1477, allocations: 0.724 MB / 0.5629 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.148, allocations: 67.89 kB / 0.563 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.148, allocations: 7.938 kB / 0.563 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.1481, allocations: 27.97 kB / 0.563 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1484, allocations: 6.219 kB / 0.563 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.1505, allocations: 1.658 MB / 0.5647 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1508, allocations: 0.708 MB / 0.5653 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.288e-05/0.1509, allocations: 8.672 kB / 0.5654 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.1509, allocations: 35.42 kB / 0.5654 GB, free: 11.07 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1509, allocations: 3.938 kB / 0.5654 GB, free: 11.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.1752, allocations: 2.166 MB / 0.5675 GB, free: 8.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/8.463, allocations: 7.938 kB / 0.5675 GB, free: 8.969 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.Phi from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticFluxSensor.Phi in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticFluxSensor.Phi from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticPotentialDifferenceSensor.V_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.V_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.51913587099989]