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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 112.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 180.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 44.18 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 67.89 kB / 470 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3645, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002498/0.367, allocations: 1.902 MB / 0.5203 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007066/0.3678, allocations: 0.5708 MB / 0.5208 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.3679, allocations: 2 kB / 0.5208 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.368, allocations: 34.14 kB / 0.5209 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.653e-05/0.3681, allocations: 33.12 kB / 0.5209 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.3683, allocations: 47.06 kB / 0.5209 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.3684, allocations: 152.2 kB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3686, allocations: 57.78 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.3687, allocations: 62.36 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.3688, allocations: 68.5 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.3688, allocations: 13.97 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.444e-05/0.3688, allocations: 12.97 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.3689, allocations: 30.05 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.3689, allocations: 75.83 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.3691, allocations: 156.1 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3691, allocations: 5.219 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3691, allocations: 0 / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3692, allocations: 0 / 0.5215 GB, free: 1.188 MB / 382.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.000506/0.3697, allocations: 443.8 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3697, allocations: 10.31 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.3698, allocations: 49.61 kB / 0.522 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.3698, allocations: 16.64 kB / 0.522 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.37, allocations: 201 kB / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.37, allocations: 14.16 kB / 0.5222 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.37, allocations: 13.84 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.3703, allocations: 147.5 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3703, allocations: 0.6562 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3703, allocations: 5.062 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3704, allocations: 3.406 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.3706, allocations: 107.8 kB / 0.5225 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.3715, allocations: 0.6027 MB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.3718, allocations: 67.73 kB / 0.5232 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3719, allocations: 31.41 kB / 0.5232 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.3719, allocations: 1.094 kB / 0.5232 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3719, allocations: 32.59 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.372, allocations: 0 / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004023/0.3724, allocations: 124 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3724, allocations: 53.08 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3726, allocations: 157.9 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3726, allocations: 27.28 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.3727, allocations: 138.3 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3727, allocations: 20.08 kB / 0.5237 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.3728, allocations: 23.97 kB / 0.5237 GB, free: 15.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3729, allocations: 320.3 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.373, allocations: 36.53 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3732, allocations: 59.66 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.3734, allocations: 97.42 kB / 0.5242 GB, free: 14.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3734, allocations: 5 kB / 0.5242 GB, free: 14.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002894/0.3737, allocations: 121.8 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3737, allocations: 5.906 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3737, allocations: 5.469 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3738, allocations: 5.984 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3739, allocations: 32.41 kB / 0.5244 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3739, allocations: 3.062 kB / 0.5244 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.374, allocations: 16.5 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.374, allocations: 4.062 kB / 0.5244 GB, free: 14.82 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 9.891e-05/0.3741, allocations: 120.5 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.3742, allocations: 11.91 kB / 0.5246 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.3742, allocations: 11.92 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3742, allocations: 5.062 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3742, allocations: 0 / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3743, allocations: 1.875 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.3745, allocations: 208.2 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3745, allocations: 0.875 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.836e-05/0.3746, allocations: 23.45 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3746, allocations: 1.969 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3746, allocations: 0.75 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.3746, allocations: 7.938 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3746, allocations: 0 / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.3749, allocations: 183.6 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.375, allocations: 87.83 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.375, allocations: 1.703 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3751, allocations: 10.52 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.3752, allocations: 12.02 kB / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3752, allocations: 1 kB / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.175e-05/0.3753, allocations: 110.2 kB / 0.5252 GB, free: 14.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3753, allocations: 5.156 kB / 0.5252 GB, free: 14.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.3755, allocations: 28.52 kB / 0.5252 GB, free: 14.09 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.0005919/0.3761, allocations: 0.7216 MB / 0.5259 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.3764, allocations: 69.75 kB / 0.526 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3764, allocations: 1.594 kB / 0.526 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.3765, allocations: 26.44 kB / 0.526 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.3768, allocations: 7.734 kB / 0.526 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.3789, allocations: 1.643 MB / 0.5276 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3793, allocations: 0.7039 MB / 0.5283 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.464e-05/0.3794, allocations: 10.95 kB / 0.5283 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.3794, allocations: 36.11 kB / 0.5284 GB, free: 11.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3794, allocations: 0 / 0.5284 GB, free: 11.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.4038, allocations: 2.136 MB / 0.5305 GB, free: 10.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.379, allocations: 9.469 kB / 0.5305 GB, free: 10.36 MB / 398.1 MB (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) 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) Reference file matches