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.001082/0.001082, allocations: 107.1 kB / 17.32 MB, free: 6.008 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.001204/0.001204, allocations: 189.4 kB / 18.25 MB, free: 5.098 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.163/1.163, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.1726/0.1726, allocations: 44.17 MB / 336.2 MB, free: 2.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 57 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.0896, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002661/0.09229, allocations: 1.964 MB / 470.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006663/0.09297, allocations: 0.5493 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.09304, allocations: 4 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.09319, allocations: 27.83 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.406e-05/0.0933, allocations: 27.77 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.09343, allocations: 39.97 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.09358, allocations: 147.5 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.09371, allocations: 69.42 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.09382, allocations: 47.86 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.0939, allocations: 71.69 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.09392, allocations: 16 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.546e-05/0.09395, allocations: 15.94 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.09399, allocations: 27.92 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.09405, allocations: 75.53 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.0942, allocations: 159.7 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09421, allocations: 0 / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09421, allocations: 3.938 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.09422, allocations: 0 / 472.1 MB, free: 11.36 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.0005127/0.09474, allocations: 439.3 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.09478, allocations: 8.031 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.09482, allocations: 50.73 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.09486, allocations: 16.75 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.09502, allocations: 204.1 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.09504, allocations: 12.66 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.09506, allocations: 16.36 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.09534, allocations: 143.9 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.09536, allocations: 0 / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.09537, allocations: 4 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.09538, allocations: 4 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.09563, allocations: 100.8 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008238/0.09646, allocations: 0.6144 MB / 473.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.09668, allocations: 70.52 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/0.09678, allocations: 33.02 kB / 473.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.0968, allocations: 0 / 473.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.09683, allocations: 38.55 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.09684, allocations: 0 / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003222/0.09716, allocations: 105.5 kB / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.0972, allocations: 55.41 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.09731, allocations: 153.7 kB / 474.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.09733, allocations: 25.7 kB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.0974, allocations: 135.4 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.09742, allocations: 23.73 kB / 474.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.09746, allocations: 29.66 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.09756, allocations: 318.8 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.09766, allocations: 23.98 kB / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.09777, allocations: 68.2 kB / 474.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.09797, allocations: 100.2 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.09798, allocations: 0 / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002465/0.09823, allocations: 125.4 kB / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.09825, allocations: 8 kB / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.09825, allocations: 0 / 474.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.09827, allocations: 3.938 kB / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.09839, allocations: 28.11 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.0984, allocations: 4 kB / 475 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.0985, allocations: 23.83 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.09851, allocations: 3.938 kB / 475 MB, free: 8.137 MB / 350.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.073e-05/0.0986, allocations: 125.8 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.09863, allocations: 7.906 kB / 475.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.09866, allocations: 12.3 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.09866, allocations: 7.938 kB / 475.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.09867, allocations: 7.984 kB / 475.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.09868, allocations: 0 / 475.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.09886, allocations: 201.6 kB / 475.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.09887, allocations: 0 / 475.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.09896, allocations: 15.98 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.09897, allocations: 0 / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.09898, allocations: 0 / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.09899, allocations: 7.938 kB / 475.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.09899, allocations: 256 / 475.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.09923, allocations: 191.3 kB / 475.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.09928, allocations: 85.02 kB / 475.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.0993, allocations: 4 kB / 475.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/0.0994, allocations: 11.92 kB / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.09943, allocations: 4 kB / 475.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.09944, allocations: 0 / 475.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.544e-05/0.09951, allocations: 118.8 kB / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09951, allocations: 4 kB / 475.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.09974, allocations: 27.84 kB / 475.8 MB, free: 7.234 MB / 350.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.0004364/0.1002, allocations: 0.7092 MB / 476.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.1004, allocations: 75.83 kB / 476.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1004, allocations: 4 kB / 476.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.309e-05/0.1005, allocations: 35.91 kB / 476.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.1008, allocations: 7.938 kB / 476.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1023, allocations: 1.68 MB / 478.3 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.1026, allocations: 0.708 MB / 479 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.87e-05/0.1026, allocations: 8.656 kB / 479 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.1027, allocations: 35.42 kB / 479.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of SimCode: time 1.383e-06/0.1027, allocations: 0 / 479.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6082/0.7109, allocations: 1.954 MB / 481 MB, free: 1.957 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.7111, allocations: 197.5 kB / 481.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.767, allocations: 0 / 481.2 MB, free: 1.703 MB / 350.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