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.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.001373/0.001373, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.001563/0.001563, allocations: 212.9 kB / 23.74 MB, free: 4.688 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.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.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.2221/0.2221, allocations: 44.91 MB / 358.8 MB, free: 6.316 MB / 286.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.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_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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003376/0.003376, allocations: 68.09 kB / 0.4931 GB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3264, allocations: 65.47 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003324/0.3297, allocations: 1.954 MB / 0.5589 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3308, allocations: 0.6076 MB / 0.5595 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.3309, allocations: 4 kB / 0.5595 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.3311, allocations: 39.7 kB / 0.5596 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.3312, allocations: 31.7 kB / 0.5596 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.3314, allocations: 47.95 kB / 0.5596 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.3316, allocations: 155.4 kB / 0.5598 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.3317, allocations: 47.53 kB / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3318, allocations: 63.78 kB / 0.5599 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.3319, allocations: 63.7 kB / 0.5599 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.332, allocations: 12 kB / 0.56 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.36e-05/0.332, allocations: 12 kB / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.332, allocations: 23.92 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.3321, allocations: 75.59 kB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.3323, allocations: 159.3 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3323, allocations: 0 / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3323, allocations: 4 kB / 0.5602 GB, free: 4.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3323, allocations: 0 / 0.5602 GB, free: 4.496 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.0006607/0.333, allocations: 373.9 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.333, allocations: 8.031 kB / 0.5606 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.736e-05/0.3331, allocations: 46.73 kB / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.3331, allocations: 20.84 kB / 0.5606 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3334, allocations: 158.3 kB / 0.5608 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3334, allocations: 8.656 kB / 0.5608 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3335, allocations: 12.38 kB / 0.5608 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.3338, allocations: 143.9 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3338, allocations: 0 / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.3338, allocations: 8 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3338, allocations: 0 / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.3341, allocations: 104.8 kB / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.3351, allocations: 0.5786 MB / 0.5616 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.3354, allocations: 66.61 kB / 0.5617 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3355, allocations: 32.97 kB / 0.5617 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3355, allocations: 0 / 0.5617 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3355, allocations: 34.56 kB / 0.5618 GB, free: 2.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3355, allocations: 3.938 kB / 0.5618 GB, free: 2.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003764/0.3359, allocations: 109.5 kB / 0.5619 GB, free: 2.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3359, allocations: 59.39 kB / 0.5619 GB, free: 2.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3361, allocations: 158.3 kB / 0.5621 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3361, allocations: 25.7 kB / 0.5621 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.3362, allocations: 135.8 kB / 0.5622 GB, free: 2.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.3362, allocations: 15.84 kB / 0.5622 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.3363, allocations: 33.66 kB / 0.5623 GB, free: 2.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3364, allocations: 322.8 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.3365, allocations: 27.98 kB / 0.5626 GB, free: 1.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3366, allocations: 64.27 kB / 0.5627 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.3369, allocations: 100.1 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3369, allocations: 0 / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002917/0.3372, allocations: 121.5 kB / 0.5629 GB, free: 1.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3372, allocations: 4 kB / 0.5629 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3372, allocations: 3.984 kB / 0.5629 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3372, allocations: 7.938 kB / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3373, allocations: 36.05 kB / 0.5629 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3373, allocations: 0 / 0.5629 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.3375, allocations: 15.94 kB / 0.5629 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3375, allocations: 4 kB / 0.5629 GB, free: 1.453 MB / 398.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.0001001/0.3376, allocations: 117.8 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3376, allocations: 7.953 kB / 0.5631 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.3376, allocations: 12.41 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3376, allocations: 3.938 kB / 0.5631 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3376, allocations: 4.25 kB / 0.5631 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3376, allocations: 0 / 0.5631 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.3379, allocations: 188.6 kB / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3379, allocations: 0 / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.846e-05/0.338, allocations: 19.92 kB / 0.5633 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.338, allocations: 0 / 0.5633 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.338, allocations: 0 / 0.5633 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.338, allocations: 3.938 kB / 0.5633 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.338, allocations: 0 / 0.5633 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.3383, allocations: 187.5 kB / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.3383, allocations: 11.94 kB / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3383, allocations: 0 / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3384, allocations: 7.938 kB / 0.5635 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3384, allocations: 11.92 kB / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.3384, allocations: 4 kB / 0.5635 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.866e-05/0.3385, allocations: 107.2 kB / 0.5636 GB, free: 0.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3385, allocations: 8 kB / 0.5636 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.3388, allocations: 31.89 kB / 0.5636 GB, free: 0.668 MB / 398.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.0005699/0.3394, allocations: 0.72 MB / 0.5643 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3396, allocations: 71.95 kB / 0.5644 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3396, allocations: 0 / 0.5644 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.685e-05/0.3397, allocations: 35.91 kB / 0.5645 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.34, allocations: 4 kB / 0.5645 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.342, allocations: 1.652 MB / 0.5661 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.3424, allocations: 0.708 MB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.939e-05/0.3424, allocations: 12.66 kB / 0.5668 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.3425, allocations: 35.42 kB / 0.5668 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3425, allocations: 0 / 0.5668 GB, free: 13.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.3696, allocations: 2.319 MB / 0.5691 GB, free: 11.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.49, allocations: 8 kB / 0.5691 GB, free: 11.09 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.Phi from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticFluxSensor.Phi in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticFluxSensor.Phi from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticPotentialDifferenceSensor.V_m in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.V_m from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.519768602993281]