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.001884/0.001884, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002417/0.002417, allocations: 213.9 kB / 23.74 MB, free: 4.656 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 8 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.234/0.234, allocations: 46.94 MB / 360.9 MB, free: 4.254 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.002121/0.002121, allocations: 67.89 kB / 0.4961 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3082, allocations: 66.03 MB / 0.5606 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003384/0.3116, allocations: 1.952 MB / 0.5625 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3126, allocations: 0.6154 MB / 0.5631 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.3127, allocations: 0 / 0.5631 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.3129, allocations: 31.72 kB / 0.5632 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.313, allocations: 35.7 kB / 0.5632 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.3132, allocations: 55.88 kB / 0.5633 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3134, allocations: 143.5 kB / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3135, allocations: 57.2 kB / 0.5635 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.634e-05/0.3136, allocations: 55.8 kB / 0.5635 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.3137, allocations: 63.7 kB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.3137, allocations: 16 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.287e-05/0.3137, allocations: 12 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.3138, allocations: 31.91 kB / 0.5636 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.983e-05/0.3138, allocations: 63.67 kB / 0.5637 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.3141, allocations: 159.3 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3141, allocations: 0 / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3141, allocations: 4 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3141, allocations: 3.938 kB / 0.5638 GB, free: 1.164 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.000629/0.3147, allocations: 380.8 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3147, allocations: 15.97 kB / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.3148, allocations: 46.73 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.3148, allocations: 16.84 kB / 0.5643 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.3151, allocations: 146.3 kB / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3151, allocations: 16.66 kB / 0.5644 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.3151, allocations: 12.38 kB / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.3155, allocations: 143.9 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3155, allocations: 0 / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3155, allocations: 7.984 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3155, allocations: 4 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.3158, allocations: 100.8 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3168, allocations: 0.5746 MB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.3171, allocations: 66.52 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3172, allocations: 33.02 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3172, allocations: 0 / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3172, allocations: 42.48 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 4.438e-06/0.3172, allocations: 3.984 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003816/0.3176, allocations: 105.6 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.3177, allocations: 51.41 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3178, allocations: 160.4 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.3179, allocations: 29.69 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.3179, allocations: 131.8 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.318, allocations: 23.83 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.318, allocations: 21.67 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3182, allocations: 322.8 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3183, allocations: 27.98 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.3184, allocations: 68.2 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.3186, allocations: 100.1 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3186, allocations: 0 / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002924/0.3189, allocations: 125.5 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.319, allocations: 4 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.319, allocations: 4 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.319, allocations: 3.938 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3191, allocations: 32.05 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3191, allocations: 4 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.3192, allocations: 11.94 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.3192, allocations: 4 kB / 0.5666 GB, free: 14.12 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.0001022/0.3193, allocations: 121.8 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.3194, allocations: 11.89 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.3194, allocations: 12.39 kB / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3194, allocations: 7.938 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3194, allocations: 4 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3194, allocations: 0 / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.3196, allocations: 176.9 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3196, allocations: 0 / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/0.3197, allocations: 23.98 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3197, allocations: 0 / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3197, allocations: 4 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3198, allocations: 7.922 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3198, allocations: 0 / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.3201, allocations: 183.5 kB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.3201, allocations: 3.953 kB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3202, allocations: 8 kB / 0.5671 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3203, allocations: 7.922 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.3203, allocations: 11.88 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3203, allocations: 0 / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.472e-05/0.3204, allocations: 119.2 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3204, allocations: 0 / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000251/0.3206, allocations: 23.95 kB / 0.5673 GB, free: 13.34 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.0005871/0.3212, allocations: 0.7162 MB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.3215, allocations: 75.88 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3215, allocations: 0 / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.3216, allocations: 27.92 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3219, allocations: 11.94 kB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.3239, allocations: 1.651 MB / 0.5697 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3243, allocations: 0.7041 MB / 0.5704 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.104e-05/0.3243, allocations: 8.672 kB / 0.5704 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.3244, allocations: 35.42 kB / 0.5704 GB, free: 9.961 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3244, allocations: 0 / 0.5704 GB, free: 9.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.3508, allocations: 2.324 MB / 0.5727 GB, free: 7.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.49, allocations: 10.45 kB / 0.5727 GB, free: 7.762 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.542060106999998]