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.0008373/0.0008373, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0009216/0.0009216, allocations: 177.3 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.9266/0.9266, allocations: 177.2 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2418/0.2418, allocations: 34.24 MB / 294.9 MB, free: 0.7266 MB / 266.7 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 1.332e-06/1.332e-06, allocations: 0 / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.912e-05, allocations: 6.219 kB / 442.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.208/0.208, allocations: 1.888 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.2089, allocations: 0.5614 MB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.704e-05/0.209, allocations: 2.844 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.2092, allocations: 39.17 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2093, allocations: 31.11 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.2095, allocations: 48.41 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.2096, allocations: 152.1 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.2098, allocations: 48.17 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.2099, allocations: 86.39 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.2099, allocations: 48.47 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.2099, allocations: 13.25 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.21, allocations: 13.59 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.21, allocations: 31.67 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.21, allocations: 44.95 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.2102, allocations: 163 kB / 445.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2102, allocations: 2.75 kB / 445.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.2102, allocations: 0 / 445.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2102, allocations: 0 / 445.3 MB, free: 43.09 MB / 410.7 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.0004178/0.2106, allocations: 378.3 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2106, allocations: 11.38 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.2107, allocations: 43.97 kB / 445.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.2107, allocations: 20.41 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.2109, allocations: 145.2 kB / 445.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2109, allocations: 9.469 kB / 445.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.2109, allocations: 11.91 kB / 445.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.2111, allocations: 141 kB / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2112, allocations: 192 / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2112, allocations: 7.5 kB / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2112, allocations: 4.531 kB / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.2113, allocations: 103.7 kB / 446.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.2119, allocations: 0.5512 MB / 446.7 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.2121, allocations: 75.28 kB / 446.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.2121, allocations: 28.97 kB / 446.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2122, allocations: 0 / 446.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.2122, allocations: 30.56 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.2122, allocations: 0 / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000247/0.2124, allocations: 113.6 kB / 447 MB, free: 42.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2125, allocations: 55.41 kB / 447 MB, free: 42.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2126, allocations: 163 kB / 447.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.2126, allocations: 25.7 kB / 447.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.2126, allocations: 138 kB / 447.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.2126, allocations: 25.91 kB / 447.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.2127, allocations: 19.22 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.849e-05/0.2127, allocations: 321.2 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.2128, allocations: 32 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.2128, allocations: 61.41 kB / 447.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.2129, allocations: 96.83 kB / 447.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2129, allocations: 0 / 447.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001488/0.2131, allocations: 130.4 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2131, allocations: 5.344 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2131, allocations: 0 / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2131, allocations: 2.688 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.2132, allocations: 30.72 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.2132, allocations: 2.906 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.2133, allocations: 17.23 kB / 448.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.2133, allocations: 7.031 kB / 448.1 MB, free: 41.19 MB / 410.7 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 5.436e-05/0.2133, allocations: 117.3 kB / 448.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.2133, allocations: 13.86 kB / 448.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.2134, allocations: 15.7 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2134, allocations: 3.125 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2134, allocations: 0 / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2134, allocations: 3.938 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.2135, allocations: 171.9 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2135, allocations: 1.312 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.2135, allocations: 18.86 kB / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2135, allocations: 0 / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.2136, allocations: 0 / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2136, allocations: 10.75 kB / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2136, allocations: 0 / 448.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.2137, allocations: 191.6 kB / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.2137, allocations: 10.75 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.2137, allocations: 6.203 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.2138, allocations: 2.938 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.2138, allocations: 3.281 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.2138, allocations: 7 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.589e-05/0.2139, allocations: 115.6 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2139, allocations: 4 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.214, allocations: 27.69 kB / 448.8 MB, free: 40.6 MB / 410.7 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.0002314/0.2143, allocations: 0.7114 MB / 449.5 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.2144, allocations: 71.81 kB / 449.6 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2144, allocations: 256 / 449.6 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.84e-05/0.2145, allocations: 32.66 kB / 449.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.2147, allocations: 11.7 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.216, allocations: 1.631 MB / 451.2 MB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.513e-05/0.2161, allocations: 97.16 kB / 451.3 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.303e-05/0.2161, allocations: 3.703 kB / 451.3 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.2162, allocations: 41.95 kB / 451.4 MB, free: 38.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.2162, allocations: 0 / 451.4 MB, free: 38.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.2363, allocations: 2.827 MB / 454.2 MB, free: 37.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.15, allocations: 16.34 kB / 454.2 MB, free: 37.45 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/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: 9.19407748337835]