Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 208.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 46.95 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3858, allocations: 66.05 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003675/0.3895, allocations: 1.867 MB / 0.5624 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3906, allocations: 0.561 MB / 0.563 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.3907, allocations: 4 kB / 0.563 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.3909, allocations: 35.7 kB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.391, allocations: 35.7 kB / 0.563 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.3912, allocations: 43.95 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.3914, allocations: 155.4 kB / 0.5632 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3916, allocations: 55.47 kB / 0.5633 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3917, allocations: 55.84 kB / 0.5633 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.637e-05/0.3918, allocations: 67.69 kB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.3918, allocations: 12 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.833e-05/0.3918, allocations: 16 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.3919, allocations: 31.86 kB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.3919, allocations: 55.73 kB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.3922, allocations: 159.3 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3922, allocations: 0 / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3922, allocations: 4 kB / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3922, allocations: 0 / 0.5637 GB, free: 1.059 MB / 398.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.0007107/0.3929, allocations: 377.9 kB / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3929, allocations: 8.031 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.633e-05/0.393, allocations: 46.73 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.3931, allocations: 16.84 kB / 0.5641 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.3933, allocations: 150.3 kB / 0.5642 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3933, allocations: 12.66 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.3934, allocations: 16.36 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.3937, allocations: 147.9 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3937, allocations: 0 / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3937, allocations: 4 kB / 0.5644 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3937, allocations: 4 kB / 0.5644 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.394, allocations: 100.8 kB / 0.5645 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.395, allocations: 0.5552 MB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.3953, allocations: 66.62 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3954, allocations: 24.97 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3954, allocations: 0 / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.3954, allocations: 30.56 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.3954, allocations: 4 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004129/0.3958, allocations: 117.5 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3959, allocations: 51.41 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.396, allocations: 154.3 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.396, allocations: 25.7 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3962, allocations: 135.8 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3962, allocations: 23.8 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.3963, allocations: 29.64 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3965, allocations: 318.8 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3966, allocations: 31.98 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3967, allocations: 60.27 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.397, allocations: 96.12 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.397, allocations: 4 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002971/0.3973, allocations: 133.5 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3973, allocations: 7.938 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3973, allocations: 4 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3973, allocations: 3.938 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3974, allocations: 27.92 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3974, allocations: 4 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.264e-05/0.3975, allocations: 11.94 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.3976, allocations: 12.12 kB / 0.5664 GB, free: 14.04 MB / 414.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.0001126/0.3977, allocations: 121.8 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.3977, allocations: 7.953 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.3977, allocations: 12.41 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3977, allocations: 7.938 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3977, allocations: 0 / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3977, allocations: 3.984 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.398, allocations: 165 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.398, allocations: 4 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.37e-05/0.3981, allocations: 19.92 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3981, allocations: 4 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.3981, allocations: 0 / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3981, allocations: 7.938 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3981, allocations: 0 / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.3984, allocations: 187.4 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.3984, allocations: 3.953 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.3984, allocations: 7.984 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.3985, allocations: 11.88 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.3986, allocations: 11.98 kB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3986, allocations: 0 / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.043e-05/0.3987, allocations: 109 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3987, allocations: 0 / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3989, allocations: 31.89 kB / 0.567 GB, free: 13.27 MB / 414.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.0005665/0.3995, allocations: 0.7201 MB / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3998, allocations: 71.95 kB / 0.5678 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3998, allocations: 0 / 0.5678 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.567e-05/0.3999, allocations: 31.91 kB / 0.5678 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.4001, allocations: 6.656 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.4022, allocations: 1.652 MB / 0.5695 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.298e-05/0.4023, allocations: 94.22 kB / 0.5696 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.779e-05/0.4023, allocations: 16.64 kB / 0.5696 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/0.4024, allocations: 35.42 kB / 0.5696 GB, free: 10.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4024, allocations: 0 / 0.5696 GB, free: 10.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.431, allocations: 2.715 MB / 0.5723 GB, free: 7.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.42, allocations: 8.062 kB / 0.5723 GB, free: 7.91 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable magneticPotentialDifferenceSensor.Phi in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.Phi from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticFluxSensor.Phi in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticFluxSensor.Phi from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticPotentialDifferenceSensor.V_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.V_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.464718139002798]