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.001725/0.001732, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001992/0.001992, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2157/0.2157, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3603, allocations: 60.81 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003088/0.3635, allocations: 1.909 MB / 0.5203 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.3644, allocations: 0.563 MB / 0.5208 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.3645, allocations: 2.469 kB / 0.5208 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.3647, allocations: 33.95 kB / 0.5209 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.3648, allocations: 40.58 kB / 0.5209 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.365, allocations: 43.05 kB / 0.5209 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.3652, allocations: 148.8 kB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.3654, allocations: 62.02 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.3656, allocations: 61.69 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3657, allocations: 65.59 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.3657, allocations: 13.03 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.596e-05/0.3657, allocations: 13.19 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.3658, allocations: 29.62 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.188e-05/0.3659, allocations: 80.06 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.3661, allocations: 155 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3662, allocations: 0.8438 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3662, allocations: 0 / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3662, allocations: 0 / 0.5215 GB, free: 1.191 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.0006203/0.3668, allocations: 449.2 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3668, allocations: 9.344 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.3669, allocations: 50.19 kB / 0.522 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.3669, allocations: 19.84 kB / 0.522 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3672, allocations: 197.9 kB / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3672, allocations: 10 kB / 0.5222 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3672, allocations: 12.84 kB / 0.5222 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.3675, allocations: 147.5 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3676, allocations: 0 / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.3676, allocations: 7.125 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3676, allocations: 6.531 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.3679, allocations: 103 kB / 0.5225 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009651/0.3688, allocations: 0.6065 MB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.3691, allocations: 72.67 kB / 0.5232 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3692, allocations: 31.47 kB / 0.5232 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3693, allocations: 1.312 kB / 0.5232 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3693, allocations: 31.17 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.3693, allocations: 1.375 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004416/0.3698, allocations: 114.9 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3698, allocations: 53.12 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.37, allocations: 158.4 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.37, allocations: 25.7 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3701, allocations: 135.5 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3701, allocations: 11.38 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.3702, allocations: 26.52 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3703, allocations: 324.5 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3704, allocations: 30.61 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.3706, allocations: 59.17 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.3708, allocations: 105.9 kB / 0.5242 GB, free: 14.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3708, allocations: 0 / 0.5242 GB, free: 14.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002894/0.3711, allocations: 123.2 kB / 0.5243 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3711, allocations: 10.47 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3712, allocations: 3.938 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3712, allocations: 7.516 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3713, allocations: 27.2 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3713, allocations: 2.25 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.3714, allocations: 20.64 kB / 0.5244 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3715, allocations: 4.312 kB / 0.5244 GB, free: 14.83 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.095e-05/0.3716, allocations: 120.5 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.3716, allocations: 11.64 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.3716, allocations: 12.09 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3717, allocations: 5.344 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3717, allocations: 0 / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3717, allocations: 2.125 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.3719, allocations: 204.4 kB / 0.5247 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3719, allocations: 4 kB / 0.5248 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.372, allocations: 19.14 kB / 0.5248 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.372, allocations: 1.906 kB / 0.5248 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.372, allocations: 1.469 kB / 0.5248 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.372, allocations: 7.938 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3721, allocations: 0.75 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3723, allocations: 183.3 kB / 0.525 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.3724, allocations: 87.66 kB / 0.525 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.3724, allocations: 2.828 kB / 0.525 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.3725, allocations: 8.281 kB / 0.5251 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.3725, allocations: 8.969 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.3726, allocations: 1.406 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.969e-05/0.3726, allocations: 114.2 kB / 0.5252 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3726, allocations: 3.938 kB / 0.5252 GB, free: 14.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.3729, allocations: 23.59 kB / 0.5252 GB, free: 14.11 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.000557/0.3735, allocations: 0.7189 MB / 0.5259 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.3738, allocations: 74.81 kB / 0.526 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3738, allocations: 0 / 0.526 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3739, allocations: 26.23 kB / 0.526 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.3742, allocations: 11.5 kB / 0.526 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3761, allocations: 1.644 MB / 0.5276 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.3764, allocations: 0.7081 MB / 0.5283 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.3764, allocations: 14.73 kB / 0.5283 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.3765, allocations: 35.14 kB / 0.5284 GB, free: 11.26 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3765, allocations: 0 / 0.5284 GB, free: 11.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.3965, allocations: 2.141 MB / 0.5304 GB, free: 10.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.102, allocations: 3.719 kB / 0.5304 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 & /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