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.00151/0.00151, allocations: 113.8 kB / 17.77 MB, free: 5.367 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.001653/0.001653, allocations: 183.1 kB / 18.7 MB, free: 4.441 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.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2094/0.2094, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 67.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3492, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002694/0.3519, allocations: 1.918 MB / 0.5203 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.3527, allocations: 0.5588 MB / 0.5208 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.048e-05/0.3528, allocations: 1.5 kB / 0.5208 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.353, allocations: 38.41 kB / 0.5208 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.3531, allocations: 33.06 kB / 0.5209 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.3533, allocations: 42.91 kB / 0.5209 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.3534, allocations: 148.2 kB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.3536, allocations: 62.91 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.3537, allocations: 61.92 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3538, allocations: 65.34 kB / 0.5212 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.3539, allocations: 13.72 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.588e-05/0.3539, allocations: 17.22 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.3539, allocations: 32.36 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.354, allocations: 68.84 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3542, allocations: 159.9 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3542, allocations: 0 / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3542, allocations: 1.125 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3542, 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.0005478/0.3548, allocations: 450.7 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3548, allocations: 10.06 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.3549, allocations: 49.95 kB / 0.522 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.3549, allocations: 20.78 kB / 0.522 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.3551, allocations: 200.9 kB / 0.5222 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3552, allocations: 14.91 kB / 0.5222 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3552, allocations: 12.47 kB / 0.5222 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.3555, allocations: 143.4 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3555, allocations: 5.062 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3555, allocations: 5.594 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3556, allocations: 3.062 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.3558, allocations: 102.9 kB / 0.5225 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009466/0.3568, allocations: 0.6075 MB / 0.5231 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.3571, allocations: 71.81 kB / 0.5232 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3572, allocations: 27.95 kB / 0.5232 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3572, allocations: 0.8438 kB / 0.5232 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3572, allocations: 36.48 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.875e-06/0.3572, allocations: 0 / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004226/0.3577, allocations: 115.4 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3577, allocations: 56.56 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3579, allocations: 158.1 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3579, allocations: 27.98 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.358, allocations: 129.4 kB / 0.5237 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.358, allocations: 21.06 kB / 0.5237 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.3581, allocations: 29.69 kB / 0.5237 GB, free: 15.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3582, allocations: 320.9 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3584, allocations: 30.69 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.3585, allocations: 62.89 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.3587, allocations: 97.88 kB / 0.5242 GB, free: 14.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3588, allocations: 0.6562 kB / 0.5242 GB, free: 14.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003131/0.3591, allocations: 129.5 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3591, allocations: 5.656 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3591, allocations: 1.156 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.3591, allocations: 6.625 kB / 0.5244 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.3593, allocations: 28.97 kB / 0.5244 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.3593, allocations: 1.781 kB / 0.5244 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3594, allocations: 21.67 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3594, allocations: 8.656 kB / 0.5244 GB, free: 14.82 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.0001145/0.3596, allocations: 123.8 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.3596, allocations: 8.969 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.3596, allocations: 10.64 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3597, allocations: 6.359 kB / 0.5246 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3597, allocations: 0 / 0.5246 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3597, allocations: 0 / 0.5246 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.3599, allocations: 208.6 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3599, allocations: 1.969 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.36, allocations: 18.25 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3601, allocations: 6.906 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3601, allocations: 0.6094 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3601, allocations: 3.938 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3601, allocations: 0 / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.3604, allocations: 180.7 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.3604, allocations: 87.44 kB / 0.525 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.3605, allocations: 8 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.3606, allocations: 11.41 kB / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.3606, allocations: 4.531 kB / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3606, allocations: 0 / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.757e-05/0.3607, allocations: 120 kB / 0.5252 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3607, allocations: 3.938 kB / 0.5252 GB, free: 14.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00026/0.361, allocations: 23.41 kB / 0.5252 GB, free: 14.09 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.0005689/0.3616, allocations: 0.7179 MB / 0.5259 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.3619, allocations: 70.59 kB / 0.526 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3619, allocations: 0 / 0.526 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.362, allocations: 39.92 kB / 0.526 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.3623, allocations: 2.781 kB / 0.526 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.3643, allocations: 1.639 MB / 0.5276 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3647, allocations: 0.7084 MB / 0.5283 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.013e-05/0.3647, allocations: 5.859 kB / 0.5283 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.3648, allocations: 34.81 kB / 0.5283 GB, free: 11.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3648, allocations: 0 / 0.5283 GB, free: 11.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.3832, allocations: 2.133 MB / 0.5304 GB, free: 10.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/8.073, allocations: 9.094 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 & 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