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.0009615/0.0009615, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001019/0.001019, allocations: 170 kB / 23.95 MB, free: 0.6133 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.926/0.926, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2567/0.2567, allocations: 32.8 MB / 293.5 MB, free: 1.234 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.245e-05, allocations: 4.25 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002433/0.002455, allocations: 1.887 MB / 441.5 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008155/0.003271, allocations: 0.5609 MB / 442 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.437e-05/0.003355, allocations: 4 kB / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.00351, allocations: 35.66 kB / 442.1 MB, free: 1.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.003619, allocations: 43.64 kB / 442.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.003776, allocations: 39.94 kB / 442.1 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.003924, allocations: 156.2 kB / 442.3 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.004037, allocations: 41.77 kB / 442.3 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.86e-05/0.004136, allocations: 83.86 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.755e-05/0.004194, allocations: 47.81 kB / 442.5 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.004221, allocations: 16 kB / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.004234, allocations: 12 kB / 442.5 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.004257, allocations: 27.91 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.004294, allocations: 43.91 kB / 442.6 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.004452, allocations: 175.4 kB / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004454, allocations: 0 / 442.7 MB, free: 1.098 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004455, allocations: 4 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004458, allocations: 0 / 442.7 MB, free: 1.094 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.0004583/0.004917, allocations: 370 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.004957, allocations: 8.031 kB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.004997, allocations: 42.75 kB / 443.1 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.005029, allocations: 20.83 kB / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.00523, allocations: 153.5 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.005242, allocations: 8.656 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.005258, allocations: 12.38 kB / 443.3 MB, free: 436 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.00548, allocations: 136.4 kB / 443.5 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005488, allocations: 192 / 443.5 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.005503, allocations: 12.06 kB / 443.5 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.005508, allocations: 7.984 kB / 443.5 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.005678, allocations: 104.8 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2027/0.2083, allocations: 0.5417 MB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.2085, allocations: 65.81 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.2086, allocations: 29.84 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.2086, allocations: 0 / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.2086, allocations: 37.55 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.2086, allocations: 0.6562 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002271/0.2088, allocations: 110.8 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.2088, allocations: 55.38 kB / 444.4 MB, free: 46.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.2089, allocations: 154.8 kB / 444.6 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.2089, allocations: 26.42 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.209, allocations: 133 kB / 444.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.209, allocations: 23.8 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.209, allocations: 25 kB / 444.8 MB, free: 45.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.215e-05/0.209, allocations: 324.8 kB / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-05/0.2091, allocations: 27.78 kB / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.784e-05/0.2091, allocations: 72.48 kB / 445.2 MB, free: 45.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.2092, allocations: 96.97 kB / 445.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2092, allocations: 0 / 445.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001287/0.2094, allocations: 126.7 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.2094, allocations: 5.75 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.2094, allocations: 3.938 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.2094, allocations: 2.875 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.2094, allocations: 26.94 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2094, allocations: 2.875 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.2095, allocations: 17.34 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2095, allocations: 5.094 kB / 445.5 MB, free: 45.43 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.024e-05/0.2096, allocations: 132.5 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.2096, allocations: 9.797 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.2096, allocations: 13.83 kB / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2096, allocations: 0 / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2096, allocations: 0 / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2096, allocations: 0 / 445.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2097, allocations: 182.9 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.2097, allocations: 0 / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.2098, allocations: 15.05 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2098, allocations: 0 / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2098, allocations: 0 / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.2098, allocations: 2.812 kB / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2098, allocations: 0 / 445.8 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.2099, allocations: 186.7 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.2099, allocations: 14.3 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.2099, allocations: 1.375 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.327e-05/0.2099, allocations: 12.89 kB / 446 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.21, allocations: 3.328 kB / 446 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.21, allocations: 5.453 kB / 446 MB, free: 44.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.456e-05/0.21, allocations: 116.6 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.21, allocations: 2.781 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.2102, allocations: 28.27 kB / 446.2 MB, free: 44.91 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.0002035/0.2104, allocations: 0.7104 MB / 446.9 MB, free: 44.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.2105, allocations: 67.42 kB / 447 MB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2105, allocations: 0 / 447 MB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.2106, allocations: 35.03 kB / 447 MB, free: 44.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.2108, allocations: 8.25 kB / 447 MB, free: 44.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.2117, allocations: 1.643 MB / 448.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.462e-05/0.2118, allocations: 92.83 kB / 448.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.214e-05/0.2118, allocations: 13.81 kB / 448.7 MB, free: 42.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.2118, allocations: 37.58 kB / 448.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2118, allocations: 0 / 448.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.227, allocations: 2.845 MB / 451.6 MB, free: 41.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.196, allocations: 0 / 451.6 MB, free: 41.77 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/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: 9.257479814812541]