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.001501/0.001501, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001749/0.001749, allocations: 183.1 kB / 18.71 MB, free: 4.348 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.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2092/0.2092, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3528, allocations: 60.83 MB / 0.5184 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003632/0.3565, allocations: 1.907 MB / 0.5203 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3579, allocations: 0.5618 MB / 0.5208 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.3581, allocations: 2.781 kB / 0.5208 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.3583, allocations: 36.98 kB / 0.5209 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.3585, allocations: 33.86 kB / 0.5209 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.3587, allocations: 46.47 kB / 0.5209 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.3589, allocations: 152.1 kB / 0.5211 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3591, allocations: 59.02 kB / 0.5211 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.3592, allocations: 61.06 kB / 0.5212 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.3593, allocations: 66.2 kB / 0.5213 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.3593, allocations: 12.72 kB / 0.5213 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-05/0.3594, allocations: 14.53 kB / 0.5213 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.536e-05/0.3594, allocations: 28.84 kB / 0.5213 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.953e-05/0.3595, allocations: 72.14 kB / 0.5214 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.3597, allocations: 154.8 kB / 0.5215 GB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3597, allocations: 0 / 0.5215 GB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3597, allocations: 0 / 0.5215 GB, free: 1.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3597, allocations: 1.094 kB / 0.5215 GB, free: 1.051 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.000596/0.3603, allocations: 451.6 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3604, allocations: 14.02 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.3604, allocations: 50.73 kB / 0.522 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.3605, allocations: 15.72 kB / 0.522 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.3607, allocations: 201.3 kB / 0.5222 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3608, allocations: 10.12 kB / 0.5222 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.3608, allocations: 17.53 kB / 0.5223 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.3611, allocations: 144.4 kB / 0.5224 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3611, allocations: 0 / 0.5224 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3612, allocations: 5.125 kB / 0.5224 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3612, allocations: 4.062 kB / 0.5224 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.3615, allocations: 102.7 kB / 0.5225 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009736/0.3625, allocations: 0.6134 MB / 0.5231 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.3627, allocations: 64.62 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3628, allocations: 35.52 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3629, allocations: 1.938 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3629, allocations: 39.5 kB / 0.5232 GB, free: 15.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.3629, allocations: 0 / 0.5232 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004368/0.3634, allocations: 107.7 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.3634, allocations: 53.2 kB / 0.5234 GB, free: 15.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.3636, allocations: 159.5 kB / 0.5235 GB, free: 15.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3636, allocations: 25.7 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.911e-05/0.3637, allocations: 138.8 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.3637, allocations: 11.95 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.3638, allocations: 26.02 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.364, allocations: 320.8 kB / 0.524 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.3641, allocations: 34.56 kB / 0.5241 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.3642, allocations: 66.77 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.3645, allocations: 90.33 kB / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3645, allocations: 4 kB / 0.5242 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003152/0.3648, allocations: 122.2 kB / 0.5243 GB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3649, allocations: 5.312 kB / 0.5243 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3649, allocations: 2.719 kB / 0.5243 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.3649, allocations: 5.719 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.365, allocations: 32.02 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3651, allocations: 6.031 kB / 0.5244 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.3652, allocations: 20.94 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3652, allocations: 3.812 kB / 0.5244 GB, free: 14.68 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.0001172/0.3653, allocations: 121.1 kB / 0.5245 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.3654, allocations: 13.7 kB / 0.5245 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.3654, allocations: 11.33 kB / 0.5246 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3654, allocations: 4.188 kB / 0.5246 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3654, allocations: 0.6094 kB / 0.5246 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3655, allocations: 6.062 kB / 0.5246 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.3657, allocations: 207.5 kB / 0.5248 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3657, allocations: 0.7031 kB / 0.5248 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.854e-05/0.3658, allocations: 16.59 kB / 0.5248 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3658, allocations: 0 / 0.5248 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3659, allocations: 1.594 kB / 0.5248 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3659, allocations: 3.938 kB / 0.5248 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3659, allocations: 0 / 0.5248 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.3662, allocations: 187.1 kB / 0.525 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.3662, allocations: 89.27 kB / 0.525 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3663, allocations: 1.5 kB / 0.525 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3664, allocations: 9.609 kB / 0.5251 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.3664, allocations: 8.203 kB / 0.5251 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3664, allocations: 9.062 kB / 0.5251 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.186e-05/0.3665, allocations: 110.7 kB / 0.5252 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3665, allocations: 3.938 kB / 0.5252 GB, free: 13.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3668, allocations: 31.62 kB / 0.5252 GB, free: 13.95 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.0006506/0.3675, allocations: 0.7119 MB / 0.5259 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.3678, allocations: 73.19 kB / 0.526 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3678, allocations: 1.281 kB / 0.526 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3679, allocations: 30.17 kB / 0.526 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.3682, allocations: 6.875 kB / 0.526 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.3702, allocations: 1.641 MB / 0.5276 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3705, allocations: 0.7051 MB / 0.5283 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.74e-05/0.3706, allocations: 6.016 kB / 0.5283 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.3707, allocations: 34.92 kB / 0.5283 GB, free: 11.12 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3707, allocations: 4 kB / 0.5283 GB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.3914, allocations: 2.141 MB / 0.5304 GB, free: 10.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.883, allocations: 3.719 kB / 0.5304 GB, free: 10.25 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 & /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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/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