Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 115.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 227.4 MB / 246.4 MB, free: 9.078 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1909/0.1909, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 72.75 kB / 417.1 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09877, allocations: 62.46 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003091/0.1019, allocations: 1.98 MB / 481.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008732/0.1028, allocations: 0.5882 MB / 482.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.1029, allocations: 0 / 482.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.1031, allocations: 31.78 kB / 482.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1032, allocations: 27.83 kB / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.1034, allocations: 43.89 kB / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1035, allocations: 155.5 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1037, allocations: 57.52 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.816e-05/0.1038, allocations: 59.8 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.1039, allocations: 63.73 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1039, allocations: 12 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.104, allocations: 19.94 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.104, allocations: 27.92 kB / 482.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.328e-05/0.1041, allocations: 67.67 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1042, allocations: 159.7 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1042, allocations: 0 / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1043, allocations: 4 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1043, allocations: 0 / 482.9 MB, free: 2.191 MB / 350.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.0005652/0.1048, allocations: 443.3 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.1049, allocations: 12.03 kB / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.1049, allocations: 46.73 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.105, allocations: 16.75 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1052, allocations: 204 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1052, allocations: 16.66 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.1052, allocations: 12.38 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.1055, allocations: 148.7 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1055, allocations: 0 / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1055, allocations: 4 kB / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1056, allocations: 4 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.1058, allocations: 104.8 kB / 483.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008651/0.1067, allocations: 0.6105 MB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1069, allocations: 74.52 kB / 484.6 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.059e-05/0.107, allocations: 29 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.107, allocations: 4 kB / 484.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1071, allocations: 30.56 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1071, allocations: 0 / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003405/0.1074, allocations: 117.7 kB / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1075, allocations: 55.41 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1076, allocations: 150.4 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1076, allocations: 29.7 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.1077, allocations: 135.5 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.1077, allocations: 19.75 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.1078, allocations: 29.62 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1079, allocations: 322.8 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1081, allocations: 27.97 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1082, allocations: 60.27 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.1084, allocations: 100.1 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1084, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000298/0.1087, allocations: 117.5 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1087, allocations: 12.12 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1087, allocations: 0 / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1087, allocations: 7.938 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1089, allocations: 31.91 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1089, allocations: 0 / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/0.109, allocations: 15.94 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.109, allocations: 4 kB / 485.8 MB, free: 14.96 MB / 366.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 8.361e-05/0.1091, allocations: 117.8 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1091, allocations: 19.8 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.1091, allocations: 12.31 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1092, allocations: 3.938 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1092, allocations: 7.875 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1092, allocations: 0 / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.1094, allocations: 209.6 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1094, allocations: 4 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.1095, allocations: 19.92 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1095, allocations: 0 / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1095, allocations: 0 / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1095, allocations: 7.938 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1095, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1097, allocations: 183.4 kB / 486.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.1098, allocations: 81.02 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1098, allocations: 7.984 kB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.1099, allocations: 8.062 kB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.11, allocations: 11.97 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.11, allocations: 4 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.078e-05/0.1101, allocations: 114.6 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1101, allocations: 0 / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1103, allocations: 31.84 kB / 486.7 MB, free: 14.04 MB / 366.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.0005252/0.1108, allocations: 0.7201 MB / 487.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.1111, allocations: 75.89 kB / 487.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1111, allocations: 0 / 487.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.888e-05/0.1112, allocations: 31.91 kB / 487.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.1115, allocations: 8.25 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.1133, allocations: 1.685 MB / 489.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1135, allocations: 0.7002 MB / 489.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.695e-05/0.1136, allocations: 12.66 kB / 489.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.1136, allocations: 39.42 kB / 489.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1136, allocations: 0 / 489.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5515/0.6651, allocations: 1.958 MB / 491.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.6653, allocations: 199.4 kB / 492.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.796, allocations: 4 kB / 492.1 MB, free: 8.5 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches