Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 116.7 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.92 MB / 349.6 MB, free: 1.723 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.45 kB / 491.8 MB, free: 29.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1186, allocations: 64.26 MB / 0.543 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.005351/0.1239, allocations: 1.926 MB / 0.5449 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1255, allocations: 0.557 MB / 0.5454 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.1257, allocations: 4 kB / 0.5454 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.1259, allocations: 39.72 kB / 0.5455 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.1262, allocations: 35.64 kB / 0.5455 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1265, allocations: 39.95 kB / 0.5455 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.1268, allocations: 155.4 kB / 0.5457 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.127, allocations: 45.7 kB / 0.5457 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.1273, allocations: 63.77 kB / 0.5458 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1274, allocations: 63.7 kB / 0.5458 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.1275, allocations: 12 kB / 0.5458 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.611e-05/0.1275, allocations: 20 kB / 0.5459 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.1276, allocations: 31.91 kB / 0.5459 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1277, allocations: 71.61 kB / 0.546 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.128, allocations: 155.3 kB / 0.5461 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.128, allocations: 0 / 0.5461 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.128, allocations: 0 / 0.5461 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.128, allocations: 0 / 0.5461 GB, free: 0.8906 MB / 398.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.0009318/0.1289, allocations: 455.1 kB / 0.5465 GB, free: 404 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.129, allocations: 8.031 kB / 0.5466 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.129, allocations: 46.73 kB / 0.5466 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.1291, allocations: 20.78 kB / 0.5466 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1294, allocations: 192.3 kB / 0.5468 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.1294, allocations: 8.656 kB / 0.5468 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.1295, allocations: 12.38 kB / 0.5468 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.13, allocations: 151.9 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.13, allocations: 0 / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.13, allocations: 8 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.13, allocations: 4 kB / 0.547 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.1305, allocations: 100.8 kB / 0.5471 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.132, allocations: 0.6184 MB / 0.5477 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.1324, allocations: 62.62 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.1325, allocations: 32.97 kB / 0.5478 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1326, allocations: 0 / 0.5478 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1326, allocations: 30.56 kB / 0.5478 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.1326, allocations: 0 / 0.5478 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006374/0.1332, allocations: 125.7 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1333, allocations: 55.41 kB / 0.548 GB, free: 14.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1335, allocations: 147.3 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1335, allocations: 25.7 kB / 0.5481 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.1336, allocations: 135.8 kB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.1336, allocations: 19.8 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.1337, allocations: 29.7 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1339, allocations: 322.8 kB / 0.5486 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.134, allocations: 23.98 kB / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1342, allocations: 64.2 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.1345, allocations: 112 kB / 0.5488 GB, free: 13.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1345, allocations: 0 / 0.5488 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004472/0.135, allocations: 117.6 kB / 0.5489 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.135, allocations: 13.55 kB / 0.5489 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.135, allocations: 0 / 0.5489 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.135, allocations: 3.938 kB / 0.5489 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.1353, allocations: 27.92 kB / 0.549 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.1353, allocations: 4 kB / 0.549 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.1355, allocations: 19.94 kB / 0.549 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1355, allocations: 0 / 0.549 GB, free: 13.66 MB / 414.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.000162/0.1357, allocations: 125.9 kB / 0.5491 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.1357, allocations: 7.953 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.1358, allocations: 8.312 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.1358, allocations: 7.938 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1358, allocations: 0 / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1358, allocations: 0 / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.1361, allocations: 217.5 kB / 0.5493 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1361, allocations: 0 / 0.5493 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.1363, allocations: 15.98 kB / 0.5494 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1363, allocations: 0 / 0.5494 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1363, allocations: 4 kB / 0.5494 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.1363, allocations: 7.938 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1363, allocations: 0 / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.1367, allocations: 179.5 kB / 0.5495 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.1368, allocations: 93 kB / 0.5496 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1368, allocations: 0 / 0.5496 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.137, allocations: 12.06 kB / 0.5496 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.137, allocations: 7.984 kB / 0.5496 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.137, allocations: 4 kB / 0.5497 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1372, allocations: 116.8 kB / 0.5498 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1372, allocations: 3.938 kB / 0.5498 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.1375, allocations: 27.88 kB / 0.5498 GB, free: 12.75 MB / 414.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.0008041/0.1383, allocations: 0.7162 MB / 0.5505 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.1387, allocations: 67.89 kB / 0.5506 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1387, allocations: 0 / 0.5506 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.1389, allocations: 35.91 kB / 0.5506 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.1393, allocations: 4.25 kB / 0.5506 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.1423, allocations: 1.64 MB / 0.5522 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.1427, allocations: 0.708 MB / 0.5529 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.871e-05/0.1428, allocations: 8.656 kB / 0.5529 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.538e-05/0.1429, allocations: 31.44 kB / 0.5529 GB, free: 9.379 MB / 414.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1429, allocations: 0 / 0.5529 GB, free: 9.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.1739, allocations: 2.149 MB / 0.555 GB, free: 7.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.32, allocations: 15.94 kB / 0.555 GB, free: 7.293 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.180546359159052]