Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001757, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 213.6 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.92 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 79.88 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.308, allocations: 66.08 MB / 0.5607 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003369/0.3114, allocations: 1.956 MB / 0.5626 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3124, allocations: 0.6115 MB / 0.5632 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.3125, allocations: 4 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.3127, allocations: 35.7 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.3128, allocations: 39.7 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.313, allocations: 43.95 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3132, allocations: 147.4 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3133, allocations: 55.52 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3134, allocations: 51.8 kB / 0.5636 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3135, allocations: 71.69 kB / 0.5637 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.3136, allocations: 12 kB / 0.5637 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.53e-05/0.3136, allocations: 12 kB / 0.5637 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.3136, allocations: 35.86 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.3137, allocations: 67.67 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3139, allocations: 159.3 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3139, allocations: 4 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3139, allocations: 0 / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3139, allocations: 0 / 0.5639 GB, free: 1.008 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.0006575/0.3146, allocations: 373.9 kB / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3146, allocations: 12.03 kB / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.433e-05/0.3147, allocations: 50.67 kB / 0.5643 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.3147, allocations: 16.84 kB / 0.5644 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.315, allocations: 146.3 kB / 0.5645 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.315, allocations: 12.64 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.315, allocations: 12.38 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.3154, allocations: 143.9 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3154, allocations: 3.938 kB / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3154, allocations: 4 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3154, allocations: 8 kB / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.3157, allocations: 100.8 kB / 0.5648 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.3167, allocations: 0.5746 MB / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.317, allocations: 66.58 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3171, allocations: 29 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3171, allocations: 4 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3171, allocations: 30.56 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3171, allocations: 0 / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004197/0.3176, allocations: 113.7 kB / 0.5656 GB, free: 15.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3176, allocations: 55.41 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3178, allocations: 154.3 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3178, allocations: 29.7 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.3179, allocations: 131.8 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3179, allocations: 19.84 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.3179, allocations: 29.67 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3181, allocations: 322.8 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3182, allocations: 32.03 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3183, allocations: 60.27 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.3185, allocations: 92.2 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3185, allocations: 0 / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003/0.3188, allocations: 129.5 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3189, allocations: 18.25 kB / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3189, allocations: 0 / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3189, allocations: 11.92 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.319, allocations: 27.92 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.319, allocations: 3.984 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-05/0.3191, allocations: 19.89 kB / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3191, allocations: 4 kB / 0.5667 GB, free: 13.96 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 9.737e-05/0.3192, allocations: 117.8 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3193, allocations: 11.95 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.3193, allocations: 16.39 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3193, allocations: 3.938 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3193, allocations: 0 / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3193, allocations: 0 / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.3195, allocations: 184.6 kB / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3195, allocations: 0 / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.687e-05/0.3196, allocations: 15.98 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3196, allocations: 0 / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3196, allocations: 0 / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3196, allocations: 11.88 kB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3197, allocations: 0 / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.3199, allocations: 183.5 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.32, allocations: 7.953 kB / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.32, allocations: 0 / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3201, allocations: 11.92 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.3201, allocations: 7.984 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.3201, allocations: 8.062 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.289e-05/0.3202, allocations: 110.3 kB / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3202, allocations: 0 / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.3205, allocations: 27.95 kB / 0.5673 GB, free: 13.19 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.0006073/0.3211, allocations: 0.7239 MB / 0.5681 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.3214, allocations: 71.89 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3214, allocations: 0 / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.3215, allocations: 23.98 kB / 0.5681 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.0002799/0.3217, allocations: 12.23 kB / 0.5682 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3238, allocations: 1.655 MB / 0.5698 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3241, allocations: 0.7041 MB / 0.5705 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.3242, allocations: 8.656 kB / 0.5705 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.3243, allocations: 39.42 kB / 0.5705 GB, free: 9.805 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3243, allocations: 0 / 0.5705 GB, free: 9.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.351, allocations: 2.325 MB / 0.5728 GB, free: 7.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.46, allocations: 0 / 0.5728 GB, free: 7.586 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticFluxSensor.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticFluxSensor.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticPotentialDifferenceSensor.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.472745619998022]