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.00172/0.00172, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002131/0.002131, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.562/1.562, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2277/0.2277, allocations: 46.92 MB / 357.8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.91 kB / 0.4916 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1303, allocations: 65.98 MB / 0.556 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003844/0.1342, allocations: 1.951 MB / 0.5579 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1353, allocations: 0.6037 MB / 0.5585 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.1354, allocations: 4 kB / 0.5585 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.1356, allocations: 43.64 kB / 0.5586 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1357, allocations: 35.7 kB / 0.5586 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.1358, allocations: 35.95 kB / 0.5586 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.136, allocations: 155.4 kB / 0.5588 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1362, allocations: 53.5 kB / 0.5588 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1363, allocations: 55.8 kB / 0.5589 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.1364, allocations: 67.69 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.1364, allocations: 12 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.605e-05/0.1365, allocations: 16 kB / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.1365, allocations: 27.92 kB / 0.559 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.1366, allocations: 67.67 kB / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.1368, allocations: 163.3 kB / 0.5592 GB, free: 2.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1368, allocations: 0 / 0.5592 GB, free: 2.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1368, allocations: 3.938 kB / 0.5592 GB, free: 2.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1368, allocations: 4 kB / 0.5592 GB, free: 2.523 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.000777/0.1376, allocations: 447 kB / 0.5597 GB, free: 2.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1377, allocations: 8.031 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.159e-05/0.1377, allocations: 4.469 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.1377, allocations: 46.73 kB / 0.5597 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.1378, allocations: 16.84 kB / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1381, allocations: 212.1 kB / 0.5599 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1381, allocations: 8.656 kB / 0.56 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1382, allocations: 12.38 kB / 0.56 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.1385, allocations: 147.7 kB / 0.5601 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1385, allocations: 0 / 0.5601 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1386, allocations: 4 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1386, allocations: 4 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.1389, allocations: 108.8 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.14, allocations: 0.6026 MB / 0.5608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.1403, allocations: 66.58 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1404, allocations: 33 kB / 0.5609 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1404, allocations: 0 / 0.5609 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1404, allocations: 30.56 kB / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.1404, allocations: 0 / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004481/0.1409, allocations: 117.5 kB / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.1409, allocations: 59.34 kB / 0.5611 GB, free: 424 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1411, allocations: 157.3 kB / 0.5612 GB, free: 252 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1411, allocations: 29.7 kB / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1412, allocations: 135.8 kB / 0.5614 GB, free: 76 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.1412, allocations: 11.91 kB / 0.5614 GB, free: 64 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.1413, allocations: 33.66 kB / 0.5614 GB, free: 24 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1415, allocations: 318.8 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1416, allocations: 35.91 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.1417, allocations: 64.2 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.142, allocations: 92.19 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.142, allocations: 0 / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003187/0.1423, allocations: 129.5 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1423, allocations: 5.875 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1423, allocations: 4 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1423, allocations: 8.062 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1425, allocations: 31.91 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1425, allocations: 0 / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1426, allocations: 19.89 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1426, allocations: 4 kB / 0.5621 GB, free: 15.28 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.0001106/0.1427, allocations: 124 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.1427, allocations: 7.953 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.1428, allocations: 16.25 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1428, allocations: 4 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1428, allocations: 0 / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1428, allocations: 4 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.143, allocations: 205.6 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.143, allocations: 0 / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.1431, allocations: 19.92 kB / 0.5625 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1431, allocations: 0 / 0.5625 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1431, allocations: 3.938 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1431, allocations: 0 / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1431, allocations: 0 / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.1434, allocations: 183.5 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.1435, allocations: 96.98 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.1435, allocations: 4.25 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.1436, allocations: 4 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.1437, allocations: 7.984 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1437, allocations: 4 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1438, allocations: 118.3 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1438, allocations: 0 / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1441, allocations: 23.95 kB / 0.5629 GB, free: 14.38 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.00067/0.1447, allocations: 0.724 MB / 0.5636 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.145, allocations: 71.89 kB / 0.5637 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.145, allocations: 3.938 kB / 0.5637 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1452, allocations: 27.97 kB / 0.5637 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1454, allocations: 7.938 kB / 0.5637 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.1477, allocations: 1.662 MB / 0.5654 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.148, allocations: 0.7041 MB / 0.566 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.1481, allocations: 8.656 kB / 0.5661 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.09e-05/0.1482, allocations: 35.42 kB / 0.5661 GB, free: 10.99 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1482, allocations: 0 / 0.5661 GB, free: 10.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.1651, allocations: 2.211 MB / 0.5682 GB, free: 8.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/8.771, allocations: 9.875 kB / 0.5683 GB, free: 8.863 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 & /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.835330847010482]