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.001269/0.001269, allocations: 124.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.001498/0.001498, allocations: 199.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.512/1.512, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.23/0.23, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.00202/0.00202, allocations: 71.89 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1328, allocations: 65.99 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003583/0.1364, allocations: 1.938 MB / 0.5573 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1377, allocations: 0.6114 MB / 0.5578 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.1378, allocations: 4 kB / 0.5579 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.138, allocations: 35.72 kB / 0.5579 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1382, allocations: 31.7 kB / 0.5579 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.1383, allocations: 43.94 kB / 0.558 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1385, allocations: 143.5 kB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1387, allocations: 53.52 kB / 0.5581 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1388, allocations: 63.72 kB / 0.5582 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1389, allocations: 63.7 kB / 0.5583 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.1389, allocations: 16 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.285e-05/0.1389, allocations: 16 kB / 0.5583 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.139, allocations: 31.91 kB / 0.5583 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.139, allocations: 63.67 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1392, allocations: 159.3 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1393, allocations: 0 / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1393, allocations: 3.938 kB / 0.5585 GB, free: 2.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1393, allocations: 0 / 0.5585 GB, free: 2.574 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.0007042/0.14, allocations: 455 kB / 0.559 GB, free: 2.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.14, allocations: 12.03 kB / 0.559 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.829e-05/0.1401, allocations: 50.73 kB / 0.559 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.1401, allocations: 16.84 kB / 0.5591 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.1404, allocations: 200.1 kB / 0.5592 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1404, allocations: 16.64 kB / 0.5593 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.1404, allocations: 12.38 kB / 0.5593 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.1408, allocations: 139.9 kB / 0.5594 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1408, allocations: 4 kB / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1408, allocations: 4 kB / 0.5594 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1408, allocations: 4 kB / 0.5594 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.1411, allocations: 104.7 kB / 0.5595 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1421, allocations: 0.6029 MB / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.1424, allocations: 74.52 kB / 0.5602 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1425, allocations: 25.02 kB / 0.5602 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1425, allocations: 0 / 0.5602 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1425, allocations: 38.55 kB / 0.5602 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.1425, allocations: 0 / 0.5602 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004095/0.1429, allocations: 113.5 kB / 0.5603 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.143, allocations: 51.41 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1431, allocations: 162.3 kB / 0.5606 GB, free: 300 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1431, allocations: 25.7 kB / 0.5606 GB, free: 268 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.1432, allocations: 135.7 kB / 0.5607 GB, free: 128 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.1432, allocations: 15.89 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.1433, allocations: 33.67 kB / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1435, allocations: 318.8 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1436, allocations: 27.97 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1437, allocations: 60.22 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.1439, allocations: 100.2 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1439, allocations: 0 / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003094/0.1442, allocations: 133.8 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1443, allocations: 9.719 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1443, allocations: 0 / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1443, allocations: 7.938 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1444, allocations: 27.98 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1444, allocations: 3.938 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1445, allocations: 23.88 kB / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1445, allocations: 0 / 0.5614 GB, free: 15.33 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 9.753e-05/0.1446, allocations: 128.1 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1447, allocations: 7.953 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.1447, allocations: 16.3 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1447, allocations: 3.938 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1447, allocations: 0 / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1447, allocations: 0 / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.145, allocations: 201.6 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.145, allocations: 0 / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.303e-05/0.1451, allocations: 15.98 kB / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1451, allocations: 11.98 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1451, allocations: 0 / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1451, allocations: 3.938 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1451, allocations: 0 / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.1454, allocations: 187.4 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.1454, allocations: 85 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1455, allocations: 4 kB / 0.5621 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.1456, allocations: 11.92 kB / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1456, allocations: 4 kB / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1456, allocations: 0 / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.103e-05/0.1457, allocations: 118.6 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1457, allocations: 0 / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.1459, allocations: 27.95 kB / 0.5622 GB, free: 14.43 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.0005829/0.1465, allocations: 0.724 MB / 0.5629 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.1468, allocations: 72 kB / 0.563 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1468, allocations: 3.938 kB / 0.563 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1469, allocations: 36.17 kB / 0.563 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1471, allocations: 8 kB / 0.563 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1492, allocations: 1.653 MB / 0.5647 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1496, allocations: 0.7119 MB / 0.5654 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.343e-05/0.1497, allocations: 4.672 kB / 0.5654 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/0.1497, allocations: 35.42 kB / 0.5654 GB, free: 11.04 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1497, allocations: 4 kB / 0.5654 GB, free: 11.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.1735, allocations: 2.165 MB / 0.5675 GB, free: 8.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.409, allocations: 8 kB / 0.5675 GB, free: 8.934 MB / 430.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.362717918120325]