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.00132/0.00132, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001591/0.001591, allocations: 220.5 kB / 23.73 MB, free: 4.16 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2458/0.2458, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] 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.002034/0.002034, allocations: 75.89 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3626, allocations: 66.03 MB / 0.5606 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003322/0.3659, allocations: 1.882 MB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.3669, allocations: 0.5648 MB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.162e-05/0.367, allocations: 4 kB / 0.563 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.3672, allocations: 35.72 kB / 0.563 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.3674, allocations: 39.7 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.3675, allocations: 39.95 kB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.3677, allocations: 151.4 kB / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.3679, allocations: 51.52 kB / 0.5633 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.368, allocations: 55.8 kB / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.3681, allocations: 55.69 kB / 0.5634 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.3681, allocations: 12 kB / 0.5634 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.029e-05/0.3681, allocations: 16 kB / 0.5634 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.3682, allocations: 31.86 kB / 0.5634 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.3682, allocations: 55.73 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.3685, allocations: 167.3 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3685, allocations: 0 / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3685, allocations: 0 / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.3685, allocations: 0 / 0.5637 GB, free: 0.9805 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.0006736/0.3692, allocations: 373.9 kB / 0.564 GB, free: 0.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3692, allocations: 12.03 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.695e-05/0.3693, allocations: 46.73 kB / 0.5641 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.3693, allocations: 20.84 kB / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.3695, allocations: 138.3 kB / 0.5642 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3695, allocations: 16.66 kB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3696, allocations: 16.36 kB / 0.5643 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.3699, allocations: 136 kB / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3699, allocations: 0 / 0.5644 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3699, allocations: 4 kB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.3699, allocations: 4 kB / 0.5644 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.3702, allocations: 108.7 kB / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009801/0.3712, allocations: 0.5474 MB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.3714, allocations: 70.56 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.3715, allocations: 24.97 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.3715, allocations: 0 / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3716, allocations: 30.56 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.3716, allocations: 4 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004032/0.372, allocations: 113.6 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.372, allocations: 55.34 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3722, allocations: 158.3 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.3722, allocations: 25.7 kB / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.3723, allocations: 139.7 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3723, allocations: 23.78 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.3723, allocations: 21.72 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3725, allocations: 326.8 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.3726, allocations: 23.98 kB / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.3727, allocations: 60.27 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.373, allocations: 96.19 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.373, allocations: 4 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002939/0.3733, allocations: 129.7 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3733, allocations: 4 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3733, allocations: 0 / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3733, allocations: 7.938 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3734, allocations: 27.98 kB / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3734, allocations: 128 / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/0.3735, allocations: 27.92 kB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3735, allocations: 7.938 kB / 0.5663 GB, free: 13.97 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.0001054/0.3736, allocations: 125.8 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.3737, allocations: 7.953 kB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.3737, allocations: 8.406 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3737, allocations: 3.938 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3737, allocations: 4 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3737, allocations: 3.984 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.3739, allocations: 168.7 kB / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3739, allocations: 4 kB / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.993e-05/0.374, allocations: 15.98 kB / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.374, allocations: 0 / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.374, allocations: 0 / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.374, allocations: 7.938 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.374, allocations: 0 / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.3743, allocations: 191.3 kB / 0.5669 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.3743, allocations: 7.953 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3744, allocations: 7.984 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.3745, allocations: 15.88 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.3745, allocations: 3.984 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.3745, allocations: 0 / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.747e-05/0.3746, allocations: 112.6 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3746, allocations: 0 / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3748, allocations: 27.89 kB / 0.567 GB, free: 13.2 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.0006059/0.3754, allocations: 0.7201 MB / 0.5677 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.3757, allocations: 68.02 kB / 0.5678 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3757, allocations: 4 kB / 0.5678 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3758, allocations: 31.97 kB / 0.5678 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3761, allocations: 6.812 kB / 0.5678 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.3781, allocations: 1.651 MB / 0.5695 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.768e-05/0.3782, allocations: 98.22 kB / 0.5695 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.417e-05/0.3783, allocations: 8.656 kB / 0.5696 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.3783, allocations: 35.42 kB / 0.5696 GB, free: 10.44 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3783, allocations: 0 / 0.5696 GB, free: 10.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.4066, allocations: 2.684 MB / 0.5722 GB, free: 7.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.61, allocations: 4.219 kB / 0.5722 GB, free: 7.883 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.698026780039072]