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.001363/0.001363, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001334/0.001334, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.427/1.427, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2253/0.2253, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 72.48 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1492, allocations: 60.81 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003668/0.153, allocations: 1.923 MB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009473/0.1539, allocations: 0.5571 MB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.154, allocations: 0 / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.1542, allocations: 27.73 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.1544, allocations: 35.7 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1546, allocations: 55.91 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1548, allocations: 147.4 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.155, allocations: 65.44 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1551, allocations: 63.83 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1553, allocations: 63.7 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.1553, allocations: 12 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.943e-05/0.1553, allocations: 16 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.1554, allocations: 27.92 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.444e-05/0.1555, allocations: 71.61 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1557, allocations: 151.7 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1557, allocations: 0 / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.1557, allocations: 0 / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1557, allocations: 3.938 kB / 472.6 MB, free: 11.04 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.0007224/0.1564, allocations: 450.2 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1565, allocations: 12.03 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.1566, allocations: 50.67 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.1566, allocations: 16.75 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1568, allocations: 196.1 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1568, allocations: 8.656 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.1569, allocations: 20.31 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.1572, allocations: 143.9 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1572, allocations: 4 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1572, allocations: 4 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1572, allocations: 4 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.1575, allocations: 100.8 kB / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.1585, allocations: 0.6143 MB / 474.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1587, allocations: 70.58 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.1588, allocations: 29 kB / 474.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1589, allocations: 11.92 kB / 474.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1589, allocations: 38.5 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.1589, allocations: 0 / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004139/0.1593, allocations: 105.5 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.1594, allocations: 55.41 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1595, allocations: 157.7 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1596, allocations: 25.7 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1597, allocations: 135.4 kB / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.1598, allocations: 15.73 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.1598, allocations: 25.72 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1599, allocations: 322.8 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.16, allocations: 31.97 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1602, allocations: 60.22 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.1604, allocations: 100.1 kB / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1604, allocations: 4 kB / 475.3 MB, free: 8 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003107/0.1607, allocations: 117.5 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1608, allocations: 4 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1608, allocations: 4.125 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1608, allocations: 7.938 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1609, allocations: 27.92 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.161, allocations: 4 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/0.1611, allocations: 19.83 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1611, allocations: 4 kB / 475.5 MB, free: 7.809 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 0.0001034/0.1612, allocations: 117.8 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.1612, allocations: 7.906 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.1613, allocations: 20.3 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1613, allocations: 3.938 kB / 475.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1613, allocations: 3.938 kB / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1613, allocations: 4 kB / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1615, allocations: 205.6 kB / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1615, allocations: 0 / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.1616, allocations: 16.23 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1616, allocations: 0 / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1616, allocations: 7.984 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1616, allocations: 3.938 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1616, allocations: 4 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.1619, allocations: 183.4 kB / 476.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.162, allocations: 85.02 kB / 476.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.162, allocations: 0 / 476.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.1621, allocations: 11.92 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.1622, allocations: 0 / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.1622, allocations: 8 kB / 476.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.083e-05/0.1623, allocations: 121 kB / 476.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1623, allocations: 0 / 476.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1625, allocations: 27.84 kB / 476.3 MB, free: 6.906 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.000556/0.1631, allocations: 0.7162 MB / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.1634, allocations: 79.88 kB / 477.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1634, allocations: 0 / 477.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.653e-05/0.1635, allocations: 27.92 kB / 477.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1638, allocations: 12.16 kB / 477.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1657, allocations: 1.637 MB / 478.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.166, allocations: 0.708 MB / 479.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.64e-05/0.1661, allocations: 0.6719 kB / 479.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.1662, allocations: 39.42 kB / 479.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1662, allocations: 0 / 479.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.1862, allocations: 2.077 MB / 481.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.608, allocations: 0 / 481.6 MB, free: 1.512 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 & 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